https://github.com/toddtreece/query-translate
https://github.com/toddtreece/query-translate
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/toddtreece/query-translate
- Owner: toddtreece
- License: apache-2.0
- Created: 2021-10-18T13:35:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-19T20:01:04.000Z (over 4 years ago)
- Last Synced: 2025-02-08T20:28:59.727Z (over 1 year ago)
- Language: Rust
- Size: 1.6 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Query Translator
A very hacked together experiment using [larlpop](https://github.com/lalrpop/lalrpop) to parse query languages into an AST.
Possible use cases:
* Translate a query to a different query language
* Create a generic query UI that can generate queries for multiple data sources
* Extend query languages with UDFs that will be applied to query results in post processing
Translation Example:
SPL <--> AST <--> PromQL
