package
2.3.0+incompatible
Repository: https://github.com/datastax/zdm-proxy.git
Documentation: pkg.go.dev
# README
Simplified CQL grammar
How to generate the grammar files
-
Install ANTLR 4.
- On a Mac:
brew install antlr
.
- On a Mac:
-
Generate the Go files for the
SimplifiedCql
grammar:antlr -Dlanguage=Go antlr/SimplifiedCql.g4
Current ZDM code works with ANTLR 4.9.3, so if you have issues downloading it from system package managers you can:
- Download JAR file from https://repo1.maven.org/maven2/org/antlr/antlr4/4.9.3
- Generate Go files for simplified CQL grammar:
java -Xmx500M -cp ".:/path/to/antlr4-4.9.3-complete.jar" org.antlr.v4.Tool -Dlanguage=Go antlr/SimplifiedCql.g4