package vscoq-language-server

  1. Overview
  2. Docs
VSCoq language server

Install

Dune Dependency

Authors

Maintainers

Sources

vscoq-language-server-2.2.5.tar.gz
md5=8bc848aaf2ad0fe41a02741e633ad7e3
sha512=eb6c80a3290b1d688ea3b94a3087f204c9f9f03bddd95b21952b02af1dc4de073c1b99baed5a5f6a395e69a27c0d45f6ec181488da62e9f5c6a77d91d752dd5c

doc/vscoq-language-server.dm/Dm/Scheduler/index.html

Module Dm.SchedulerSource

The scheduler is the component in charge of planning the execution of sentences. It also defines the task delegation strategy, and computes dependencies between tasks. Scheduling can be done incrementally.

Sourcetype state

State for incremental schedule construction

Sourceval initial_state : state
Sourcetype error_recovery_strategy =
  1. | RSkip
  2. | RAdmitted
Sourcetype task =
  1. | Skip of {
    1. id : Types.sentence_id;
    2. error : Pp.t option;
    }
  2. | Block of {
    1. id : Types.sentence_id;
    2. error : Pp.t Loc.located;
    }
  3. | Exec of executable_sentence
  4. | OpaqueProof of {
    1. terminator : executable_sentence;
    2. opener_id : Types.sentence_id;
    3. proof_using : Vernacexpr.section_subset_expr;
    4. tasks : executable_sentence list;
    }
  5. | Query of executable_sentence
Sourcetype schedule

Holds the dependencies among sentences and a schedule to evaluate all sentences

Sourceval initial_schedule : schedule
Sourceval schedule_errored_sentence : Types.sentence_id -> Pp.t Loc.located -> schedule -> schedule

Identifies the structure of the document and dependencies between sentences in order to easily compute the tasks to interpret the a sentence. Input sentence is None on parsing error.

Sourceval task_for_sentence : schedule -> Types.sentence_id -> Types.sentence_id option * task

Finds the task to be performed and the state on which the task should run

Computes what should be invalidated

Sourceval string_of_schedule : schedule -> string
OCaml

Innovation. Community. Security.