Warning: this repository is obsolete, its content has been moved to https://github.com/NASA-PDS/registry-api/tree/main/lexer
This repository contains the resources to create a Java JAR library to parse the Planetary Data System's API search queries.
It's based on the ANTLR4 parser generator. It is, for example, used in the pds-api-service's Elasticsearch branch.
- JDK 11
- Apache Maven 3
Just run:
mvn clean antlr4:antlr4 deploy
The grammar definition is in the file:
src/main/antlr4/gov/nasa/pds/api/engineering/lexer/Search.g4
Within the NASA Planetary Data System, we value the health of our community as much as the code. Towards that end, we ask that you read and practice what's described in these documents:
- Our contributor's guide delineates the kinds of contributions we accept.
- Our code of conduct outlines the standards of behavior we practice and expect by everyone who participates with our software.
The project is licensed under the Apache version 2 license.