11 releases
0.2.5 | Mar 1, 2022 |
---|---|
0.2.4 | Feb 22, 2022 |
0.2.3 | Mar 18, 2021 |
0.1.4 | Mar 16, 2021 |
#2637 in Parser implementations
45 downloads per month
Used in cheval
46KB
1.5K
SLoC
expresso
Experimental/educational expression parser, and runner
Warning: Breaking API changes are expected until 1.0.0!
Note: Expresso is a word play on Espresso, and Expression
Supported
-
Whitespace
-
Operands
- i32
- f32 (Note: No leading or trailing dot!
0.34
and12.0
work,.34
and12.
don't!)
-
Operators
-
+
-
*
-
-
-
/
-
-
Braces
-
(
-
)
-
-
Variables
-
Function Calls
-
Argument Lists
Expresso
There is a expresso
binary included that can be used for quick checking/running of expressions.
Future
Other
Development will be done test driven.
Dependencies
~2–2.7MB
~57K SLoC