A very simplistic lambda interpreter.
- Parsec
- ansi-terminal
Both should be available via cabal.
Usually, a simple ghc LambdaInterpreter -outputdir bin
should be enough.
Just invoke ./LambdaInterpreter
with an additional filename containing your definitions (e.g. ./LambdaInterpreter --filename default.lambda
).
To make the user experience nicer, I encourage you to use the little tool rlwrap
.