File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 22
33Lambda calculus interpreter in PHP.
44
5- ## What?
5+ ## Lambda calculus
66
77Lambda calculus is a very minimal programming language that was invented in
881936 by Alonzo Church. It is the functional equivalent of the Turing Machine.
@@ -52,6 +52,19 @@ explicitly group them in parentheses:
5252Interestingly, lambda calculus is turing complete. Using just these three
5353concepts you can represent * any* computation.
5454
55+ Check out the links at the bottom for more details on how to do stuff in
56+ lambda calculus.
57+
58+ ## Interpreter
59+
60+ This project consists of a lambda calculus expression parser using
61+ [ dissect] ( https://github.com/jakubledl/dissect ) , and an * eval-apply*
62+ interpreter based on [ Matt Might's implementation in
63+ scheme] ( http://matt.might.net/articles/implementing-a-programming-language/ ) .
64+
65+ For examples of how to do numbers (church encoding), booleans, arithmetic,
66+ boolean logic, looping (recursion), etc. look at ` example.php ` .
67+
5568## REPL
5669
5770This project ships with a read-eval-print-loop that you can use to evaluate
You can’t perform that action at this time.
0 commit comments