Cleanup and rebuild grammars

This commit is contained in:
Arnaud Adant 2023-10-13 16:35:50 -05:00
parent 6d9cb1b1a0
commit bada816bc0
8 changed files with 2 additions and 79442 deletions

View File

@ -1,4 +1,5 @@
wget https://download.java.net/java/GA/jdk19.0.2/fdb695a9d9064ad6b064dc6df578380c/7/GPL/openjdk-19.0.2_linux-x64_bin.tar.gz
wget https://www.antlr.org/download/antlr-4.11.1-complete.jar
tar zxvf openjdk-19.0.2_linux-x64_bin.tar.gz
jdk-19.0.2/bin/java -Xmx500M -cp antlr-4.11.1-complete.jar org.antlr.v4.Tool -Dlanguage=Python3 -no-visitor antlr_grammars/mysql/MySqlParser.g4 antlr_grammars/mysql/MySqlLexer.g4 -o db_load/mysql_parser
cp antlr_grammars/mysql/*.g4 .
jdk-19.0.2/bin/java -Xmx500M -cp antlr-4.11.1-complete.jar org.antlr.v4.Tool -Dlanguage=Python3 -no-visitor MySqlParser.g4 MySqlLexer.g4 -o db_load/mysql_parser

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long