This is a homework for functional programming course.
Author: Vyacheslav Buchin, vy.buchin@gmail.com
Features done:
- Lazy computations
- Lambda abstractions
- "If then else" expressions
- Type inference
- "Let in" expressions
- Pattern matching
- "Case of" expressions
- Types: Int, Bool, List, Tuple, Maybe
- Mutual recursion
- Clone (
git clone https://github.com/ch3zych3z/HaskellInterpreter.git) - Go to the project directory (
cd HaskellInterpreter) - Build (
stack build) - Run (
stack run filename)
NB
The main function should look like "main = print expr"
You may want to see demos/ to explore miniLanguage syntax