Skip to main content

Crate texform_core

Crate texform_core 

Source
Expand description

TeXForm core library — LaTeX formula parsing, AST, and transformation.

§Modules

ModulePurpose
parseParseContext: the main API for configuring knowledge and parsing
astMutable arena-backed AST for tree transforms
lexerLogos-based lexer mapping LaTeX source to tokens
column_parserStandalone 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 Ast back to LaTeX text.
target_counter
Target occurrence counting for parsed TeXForm syntax trees.