Yacc/Lex grammar playground
A WebAssembly-based playground hosting a collection of Yacc/Lex grammars for testing, developing, and debugging grammars. Users select a grammar from the examples, click Parse to view a parse tree or AST for the input source, and edit the grammar or input to test new ideas. Part of an effort to improve grammar tooling, with features like railroad diagrams, source, stats, state machines, and traces.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Yacc/Lex grammar playground
A WebAssembly-based playground hosting a collection of Yacc/Lex grammars for testing, developing, and debugging grammars. Users select a grammar from the examples, click Parse to view a parse tree or AST for the input source, and edit the grammar or input to test new ideas. Part of an effort to improve grammar tooling, with features like railroad diagrams, source, stats, state machines, and traces.
Posted by @mingodad · Original source ↗
Source text · @mingodad · · Source ↗
Yacc/Lex grammars here https://mingodad.github.io/parsertl-playground/playground both are wasm based playgrounds to test/develop/debug grammars.