https://github.com/clarin-eric/fcs-ql
https://github.com/clarin-eric/fcs-ql
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/clarin-eric/fcs-ql
- Owner: clarin-eric
- License: gpl-3.0
- Created: 2022-07-11T14:11:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-11-17T15:16:37.000Z (7 months ago)
- Last Synced: 2025-11-17T17:15:41.930Z (7 months ago)
- Language: Java
- Size: 142 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-fcs - FCS-QL parser and utilities (Java)
README
# FCS-QL and LexCQL Parser and Utilities for FCS Core v2.0
This library contains the [ANTLR4](https://www.antlr.org/) 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:
```bash
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`._
```bash
./run.bash src/test/resources/fcs-ql-v2.0/test.txt
```
Build test sources and run queries from the given file:
```bash
./run-test-file.bash src/test/resources/fcs-ql-v2.0/test.txt
```
Good luck!
/Leif-Jöran