Lambda Calculus Interpreter

by evilottoon 6/12/2024, 5:54 AMwith 11 comments

by trompon 6/14/2024, 8:02 AM

Source code may be found at https://github.com/ascandone/elm-lambda-interpreter

by asplakeon 6/14/2024, 5:37 AM

It seems to scroll forever. Does this example terminate? What would be an easier example to try?

by James_Kon 6/14/2024, 6:39 AM

  let Sub = λ a b f c.b (\ x.x True) (a (\ cc o.o cc (f (cc False))) (λ o.o c c)) False
Subtraction is always fun.

by visargaon 6/14/2024, 5:16 AM

so easy to read, missed a comma in line 503