package forester
A tool for tending mathematical forests
Install
Dune Dependency
Authors
Maintainers
Sources
5.0.tar.gz
md5=24f4aed96a8b8af33aba13fba66f1b37
sha512=d36b896aca11858bb4a00fc704c16cc27a1f197bdb3e479d6132fd70f70d67d7158096285cb0b6fb00db14417f0f822cc27fe65d82f0971e42378fd8271ce573
doc/forester.compiler/Forester_compiler/index.html
Module Forester_compiler
Source
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.tree
s into Syn.tree
s 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