parsergen-starter
Version:
A complete parser generator starter with PEG.js, optional Moo lexer, and VS Code integration
25 lines (18 loc) โข 912 B
Markdown
# parsergen-starter
A modern starter toolkit for building custom parsers using PEG-style grammars, written in TypeScript. Ideal for building compilers, interpreters, or DSLs with highlighting, AST inspection, and REPL support.



## โจ Features
- โก PEG-style grammar parser with AST output
- ๐จ Syntax highlighting (terminal + browser)
- ๐งช Unit test support (Jest)
- ๐งโ๐ป REPL mode for quick testing
- ๐ง CLI for parsing and inspecting grammar files
- ๐ฆ Exportable library (CJS + ESM)
- ๐ Example grammar + test files included
## ๐ฆ Installation
```bash
npm install -g parsergen-starter
# or
pnpm add -D parsergen-starter