A tiny untyped lambda calculus evaluatior with Normalization by Evaluation algorithm.
ghc -o Main Main.hsHere we define a lambda term as below
where the let pattern is a syntactic sugar for the convenience of defining variables.
cat test.txt | MainIt would output the normal form of 1000 in Church encoding