Skip to content

clarin-eric/fcs-ql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FCS-QL and LexCQL Parser and Utilities for FCS Core v2.0

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.

Building

Create a JAR with dependencies:

mvn antlr4:antlr4 compiler:compile package

# or
mvn clean package

Testing

Build 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.txt

Build test sources and run queries from the given file:

./run-test-file.bash src/test/resources/fcs-ql-v2.0/test.txt

Good luck!

/Leif-Jöran

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors