This is a simple package that implements the basics of Lambda Calculus using Julia. I also wanted to make it nice to look at, so it has nice syntax for creating functions and applications.
Next steps are:
- Booleans
- Integers
- Basic Operators
using LambdaCalculusjulia> x = VAR("x")
x
julia> y = VAR("y")
yjulia> id = λ(x,x) #identity function
λx.xjulia> id ∘ y
(λx.x)y
julia> id ∘ id
(λx.x)λx.xjulia> solve(id ∘ y)
y
julia> solve(id ∘ id)
λx.x
julia> solve(id ∘ id) == id