Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

NASA-PDS/api-search-query-lexer

Repository files navigation

Warning: this repository is obsolete, its content has been moved to https://github.com/NASA-PDS/registry-api/tree/main/lexer

PDS API Search Query Lexer

DOI

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.

🖥 Prerequisites

  • JDK 11
  • Apache Maven 3

👷‍♀️ Building and Deploying

Just run:

mvn clean antlr4:antlr4 deploy

🆙 Updating

The grammar definition is in the file:

src/main/antlr4/gov/nasa/pds/api/engineering/lexer/Search.g4

👥 Contributing

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.

📃 License

The project is licensed under the Apache version 2 license.