Experiments in Haskell: command line calculator.
$ stack build
$ stack exec calc-exe
import Term
computed = eval $ Sum (ValueF 10) (Pi)
import Term
import Text.Parsec
parseCalculation text = fmap toExpr $ parse termsP "my calc" text
execParsed parsed = fmap eval parsed