Euler is a mathematical expression evaluator. It features a recursive descent parser that directly compiles to bytecode (One pass)
Simple arithmetic
> (2 + 12) * (2 - -2) / 1
56
Trigonometric functions (sin, cos, tan)
> sin(12)
-0.53657291
- Arithmetic expressions (addition, substraction, division and multiplication, and exponenciation)
- Trigonometric functions sin, cos, tan
- Constants like pi and e
For now it has only been tested on OS X and clang so I would not be surprised if it only works on that enviroment.
Just clone the project and run make
in the src directory.