package vscoq-language-server
VSCoq language server
Install
Dune Dependency
Authors
Maintainers
Sources
vscoq-language-server-2.0.1-coq8.18.tar.gz
md5=0bb4d33ce17c0ff2922b089b62ef6477
sha512=f1918867f09a3bba3276490f9aaae899117d8a37e4e7e2d8d64bf65dc0ad72b0708a7c3075ceaedd86e8ced70796df62169cf7277049b6a45117e3e666187017
doc/vscoq-language-server.dm/Dm/Scheduler/index.html
Module Dm.Scheduler
Source
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.
State for incremental schedule construction
Source
type executable_sentence = {
id : Types.sentence_id;
ast : Synterp.vernac_control_entry;
classif : Vernacextend.vernac_classification;
synterp : Vernacstate.Synterp.t;
error_recovery : error_recovery_strategy;
}
Source
type task =
| Skip of {
id : Types.sentence_id;
error : Pp.t option;
}
| Exec of executable_sentence
| OpaqueProof of {
terminator : executable_sentence;
opener_id : Types.sentence_id;
proof_using : Vernacexpr.section_subset_expr;
tasks : executable_sentence list;
}
| Query of executable_sentence
Holds the dependencies among sentences and a schedule to evaluate all sentences
Source
val schedule_sentence :
(Types.sentence_id
* (Synterp.vernac_control_entry
* Vernacextend.vernac_classification
* Vernacstate.Synterp.t)) ->
state ->
schedule ->
state * 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.
Finds the task to be performed and the state on which the task should run
Computes what should be invalidated
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>