Skip to content

Commit 69e591c

Browse files
committed
Added something to readme
1 parent d3b4bfc commit 69e591c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Dear reader,
44

5-
I challenged myself to make a programming language during the summer before I started college. This project implemented the semantic rules of the lambda calculus, but with a few extra features. I have written a javascript code compiler for it, and an interpreter. The interpreter works well, but does not throw proper errors (haven't implemented exceptions), unable to evaluate conditionals that exist inside of abstractions, and resolve types properly. It is fully functional if you wish to only use pure lambda encodings, rather than the native arithmetical evaluation engine.
5+
I challenged myself to make a programming language during the summer before I started college. This project implemented the semantic rules of the lambda calculus, but with a few extra features. I have written a javascript code compiler for it, and an interpreter. The interpreter works well, but does not throw proper errors (haven't implemented exceptions), and resolve types properly. It is fully functional if you wish to only use pure lambda encodings, rather than the native arithmetical evaluation engine (infix +, -, *, / are supported).
66

77
Examples:
88
```haskell
@@ -13,6 +13,11 @@ id = (λx.x) (λx.x)
1313
id 103
1414
λ -> 103
1515

16+
not = \b.(if b then fls else tru)
17+
18+
not tru
19+
λ -> fls
20+
1621
add = λa.λb.(a + b)
1722

1823
add 2 3

0 commit comments

Comments
 (0)