This library contains the ANTLR4 grammar files for the FCS-QL and LexCQL query languages used in FCS Core 2.0 and the LexFCS extension.
Generated Lexer and Parser classes for both query languages as well as the intermediary query tree classes for use in FCS Endpoints are also included.
Create a JAR with dependencies:
mvn antlr4:antlr4 compiler:compile package
# or
mvn clean packageBuild sources and run queries from the given file:
You might need to update paths in run.bash.
./run.bash src/test/resources/fcs-ql-v2.0/test.txtBuild test sources and run queries from the given file:
./run-test-file.bash src/test/resources/fcs-ql-v2.0/test.txtGood luck!
/Leif-Jöran