Expand description
TeXForm core library — LaTeX formula parsing, AST, and transformation.
§Modules
| Module | Purpose |
|---|---|
parse | ParseContext: the main API for configuring knowledge and parsing |
ast | Mutable arena-backed AST for tree transforms |
lexer | Logos-based lexer mapping LaTeX source to tokens |
column_parser | Standalone parser for {lcc} column specifications |
Modules§
- ast
- Transform-ready mutable AST for tree editing.
- column_
parser - Column template parser aligned with MathJax ColumnParser semantics.
- document
- Public, fallible DOM layer over the internal panic-contract
Ast. - knowledge
- Knowledge base: the backing store behind
ParseContext. - lexer
- LaTeX lexical analysis powered by Logos.
- parse
- serialize
- Canonical AST serializer — converts
Astback to LaTeX text. - target_
counter - Target occurrence counting for parsed TeXForm syntax trees.