antlr4ts-sql
antlr4ts-sql copied to clipboard
Pre-built SQL grammars that you can import and “just use”. No configuration necessary.
More details can be found https://stackoverflow.com/questions/74870072/typeerror-class-extends-value-undefined-is-not-a-constructor-or-null-when-using I am also trying to use antlr4-c3 in my project too, but got similar errors. I guess my yarn pnp or jest not set...
Spark Antlr4 Files: https://github.com/apache/spark/tree/master/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser Presto Antlr4 file: https://github.com/prestodb/presto/blob/master/presto-parser/src/main/antlr4/com/facebook/presto/sql/parser/SqlBase.g4