package forester
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module Forester_compilerSource
The forester compiler
Base types
Definition of the forester XML schema. This is the compilation target.
Compilation phases
Parsing
The lexer and parser are implemented with ocamllex and menhir
Create import and dependency graphs.
Transform Code.trees into Syn.trees by folding over the import graph.
High-level architecture
The compiler needs to support both batch-style and incremental compilation. To this end, we define a state type and transition functions that act on this state.
In the future, we want to record more knowledge in graphs of the state and derive the information we need for the language server via the query system.
IO
LaTeX pipeline
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page