summaryrefslogtreecommitdiff
path: root/gen_antlr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gen_antlr.sh')
-rw-r--r--gen_antlr.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gen_antlr.sh b/gen_antlr.sh
new file mode 100644
index 0000000..f743bac
--- /dev/null
+++ b/gen_antlr.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+root=$(dirname $0)/query
+cd ${root}
+antlr4 -visitor -Dlanguage=Python3 Query.g4
+