Forester_compilerSourceThe forester compiler
Definition of the forester XML schema. This is the compilation target.
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.
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.