Skip to content

Twisterrr/FUN_evalexpr_2021

Repository files navigation

EvalExpr

Epitech Project, EvalExpr

visitor badge

The goal of this project is to implement a functional EvalExpr, that is able to parse a string given as argument and display the resulting value, followed by a new line.

Operators

Support:

Operator Description
+ Plus sign
- Minus sign
* Multiplication sign
/ Division sign
^ Exponent sign

How to use EvalExpr ?

Compile the makefile (make) and add some arithmetic expression like this !

 $> ./funEvalExpr "6 * 12 / 2 * (1 - 2 - (2 - 4 - 5) - 10) ^ 2 * (2 - 7 - 4) ^ 3"
 $> -419904.00

How to run the Unit Test ?

 > make && test_run
 

Authors

About

📐Epitech Haskell project. The goal of this project is to recreate an EvalExpr calculator in Haskell.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published