takentaal/README.md

17 lines
320 B
Markdown
Raw Normal View History

2024-08-12 10:47:19 +02:00
# takentaal
## Commands
```bash
nix develop
# Inspect lexer
2024-08-12 10:47:19 +02:00
antlr4-parse takentaal.g4 takentaal example -tokens
# Inspect parser
antlr4-parse takentaal.g4 takentaal example -tree
antlr4-parse takentaal.g4 takentaal example -gui
# Generate TypeScript parser
antlr4 -Dlanguage=TypeScript -o takentaal takentaal.g4
2024-08-26 10:27:12 +02:00
```