Antlr grammar for defining tasks.
Find a file
2024-09-03 12:30:36 +02:00
.gitignore feat: add instructions for TS parser generation 2024-08-13 16:44:34 +02:00
example Split up description text into smaller tokens so they have lowest precedence 2024-09-02 14:15:32 +02:00
flake.lock init 2024-08-12 10:47:19 +02:00
flake.nix init 2024-08-12 10:47:19 +02:00
README.md fix: bad code block 2024-08-26 10:27:12 +02:00
takentaal.g4 Allow spaces after the int in an amount 2024-09-02 15:22:22 +02:00
takentaal.spec.0.1.0.md Add TakenTaal 0.1.0 spec 2024-09-03 12:30:36 +02:00
takentaal.spec.latest.md Add TakenTaal 0.1.0 spec 2024-09-03 12:30:36 +02:00

takentaal

Commands

nix develop

# Inspect lexer
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