WorkspaceLanguage Toolchain Builder

Language Toolchain Builder

Author an annotated grammar, generate a predictive parser, inspect stack IR and compile numeric programs to WebAssembly.

Application guide

Verifying your session…

Using Language Toolchain Builder

Construct a numeric language compiler and run an executable acceptance suite.

LL(1) parser generation · Stack IR lowering · Executable WebAssembly

Inputs and working data
Annotated LL(1) grammar, start nonterminal, test cases, expected results and working program.
Working in the editor
Editable grammar, program and test suite with conflict diagnostics and trace inspectors.
What can I produce?
Grammar, parser table, complete derivation, stack IR, test verdicts and compiled import-free module.
What are the limits?
Literal tokens and NUMBER, epsilon, 90 productions, 200 source tokens and finite arithmetic.
Example
Arithmetic grammar with precedence, grouping and syntax rejection.
Back to the editor