package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.20.0.tar.gz
md5=66e57ea55275903bef74d5bf36fbe0f1
sha512=1a7eac6e2f58724a3f9d68bbb321e4cfe963ba1a5551b9b011db4b3f559c79be433d810ff262593d753770ee41ea68fbd6a60daa1e2319ea00dff64c8851d70b
doc/coq-core.vernac/Synterp/index.html
Module Synterp
Source
This module implements the syntactic interpretation phase of vernacular commands. The main entry point is synterp_control
, which transforms a vernacexpr into a vernac_control_entry
.
Source
val with_generic_atts :
check:bool ->
Attributes.vernac_flags ->
(atts:Attributes.vernac_flags -> 'a) ->
'a
Source
type module_entry =
Modintern.module_struct_expr
* Names.ModPath.t
* Modintern.module_kind
* Entries.inline
Source
type control_entry =
| ControlTime of {
synterp_duration : System.duration;
}
| ControlInstructions of {
synterp_instructions : System.instruction_count;
}
| ControlRedirect of string
| ControlTimeout of {
}
| ControlFail of {
st : Vernacstate.Synterp.t;
}
| ControlSucceed of {
st : Vernacstate.Synterp.t;
}
Interprete control flag assuming a synpure command.
Source
type synterp_entry =
| EVernacNoop
| EVernacNotation of {
local : bool;
decl : Metasyntax.notation_interpretation_decl;
}
| EVernacBeginSection of Names.lident
| EVernacEndSegment of Names.lident
| EVernacRequire of Library.library_t list * Names.DirPath.t list * Vernacexpr.export_with_cats option * (Libnames.qualid * Vernacexpr.import_filter_expr) list
| EVernacImport of Vernacexpr.export_flag * Libobject.open_filter * (Names.ModPath.t CAst.t * Vernacexpr.import_filter_expr) list
| EVernacDeclareModule of Lib.export * Names.lident * Declaremods.module_params_expr * module_entry
| EVernacDefineModule of Lib.export * Names.lident * Declaremods.module_params_expr * ((Vernacexpr.export_flag * Libobject.open_filter) * Names.ModPath.t) list * module_entry Declaremods.module_signature * module_entry list
| EVernacDeclareModuleType of Names.lident * Declaremods.module_params_expr * ((Vernacexpr.export_flag * Libobject.open_filter) * Names.ModPath.t) list * module_entry list * module_entry list
| EVernacInclude of Declaremods.module_expr list
| EVernacSetOption of {
export : bool;
key : Goptions.option_name;
value : Vernacexpr.option_setting;
}
| EVernacLoad of Vernacexpr.verbose_flag * (vernac_control_entry * Vernacstate.Synterp.t) list
| EVernacExtend of Vernactypes.typed_vernac
Source
and vernac_control_entry =
(control_entry, synterp_entry) Vernacexpr.vernac_control_gen_r CAst.t
vernac_control_entry
defines elaborated vernacular expressions, after the syntactic interpretation phase and before full interpretation
Source
val synterp_require :
intern:Library.Intern.t ->
Libnames.qualid option ->
Vernacexpr.export_with_cats option ->
(Libnames.qualid * Vernacexpr.import_filter_expr) list ->
Library.library_t list * Names.DirPath.t list
synterp_require
performs the syntactic interpretation phase of `Require` commands
Source
val synterp_control :
intern:Library.Intern.t ->
Vernacexpr.vernac_control ->
vernac_control_entry
synterp_control
is the main entry point of the syntactic interpretation phase
Default proof mode set by `start_proof`
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>