2 unstable releases
0.2.0 | Oct 29, 2019 |
---|---|
0.1.1 | Oct 26, 2019 |
#3769 in #parser
Used in 2 crates
(via rabbithole)
28KB
603 lines
rsql-rs
A simple RSQL/FIQL parser written in Rust and Pest
Features
- Decode FIQL/RSQL query into AST
- Basic parsing test
- Encode AST into FIQL/RSQL query
- Better error system
- Need FIQL parser exist?
About RSQL/FIQL
RSQL is a query language for REST APIs. It’s based on FIQL (Feed Item Query Language) – an URI-friendly syntax for expressing filters across the entries in an Atom Feed. FIQL is great for use in URI's. there are no unsafe characters, so URL encoding is not required. On the other side, FIQL’s syntax is not very intuitive and URL encoding isn't necessarily a bad thing, so RSQL also provides a friendlier syntax for logical operators and some of the comparison operators.
Dependencies
~6–16MB
~191K SLoC