A zero-dependency JavaScript implementation of parsing tools lex and yacc. It includes lexer generator, parser generator.
Currently supports |
, ?
, *
, +
and concatenation.
See Example
See README of Lexer
See README of Parser
- Regular expression to NFA
- NFA to DFA
- Minimize DFA
- Lexer
- Parser
- LL(1)
- LR(0)
- SLR(1)
- LR(1)
- LALR(1)
npm install
npm run serve
npm run build
npm run lint
Email: steubermarsha54@gmail.com Blog: Yuneko's Blog