7 releases
0.0.7 | Nov 1, 2023 |
---|---|
0.0.6 | Nov 1, 2023 |
0.0.5 | Nov 25, 2022 |
#2205 in Parser implementations
46KB
1.5K
SLoC
Simply Enough Condition Expression Language Parser
WORK IN PROGRESS
Simply Enough Condition Expression Language Grammar
statement = if_expression
;
if_expression = `if` `(` condition `;` expression `;` expression `)`
;
condition = disjunction { `or` disjunction }
;
disjunction = conjunction { `and` conjunction }
;
conjunction = `(` condition `)`
| comparison
;
comparison = value (`=` | `<>` | `>` | `<` | `>=` | `<=`) value
;
expression = value
| if_expression
;
value = NUMBER
| NULL
;
License
Licensed under either of
at your option.
Contribution
All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~0.8–1.1MB
~19K SLoC