diff --git a/.gitignore b/.gitignore index ccca18c..adbbf23 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.antlr \ No newline at end of file +.antlr +takentaal \ No newline at end of file diff --git a/README.md b/README.md index 130cbf7..fd3968e 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,14 @@ ```bash nix develop -antlr4-parse takentaal.g4 takentaal example -tree + +# 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 `` \ No newline at end of file