mirror of
https://codeberg.org/NLnet/takentaal.git
synced 2025-08-29 14:00:06 +00:00
17 lines
336 B
Markdown
17 lines
336 B
Markdown
# takentaal
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
nix develop
|
|
|
|
# Inspect lexer
|
|
antlr4-parse takentaal.g4 takentaal plan_example -tokens
|
|
|
|
# Inspect parser
|
|
antlr4-parse takentaal.g4 takentaal plan_example -tree
|
|
antlr4-parse takentaal.g4 takentaal plan_example -gui
|
|
|
|
# Generate TypeScript parser
|
|
antlr4 -Dlanguage=TypeScript -o takentaal takentaal.g4
|
|
```
|