Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/whiteblackgoose/lamca

Lambda Calculus Calculator in Haskell
https://github.com/whiteblackgoose/lamca

Last synced: 18 days ago
JSON representation

Lambda Calculus Calculator in Haskell

Awesome Lists containing this project

README

        

# Lamca
Lambda Calculus Calculator written in haskell. Nothing new.

To run it:
```
nix develop github:WhiteBlackGoose/lamca --command cabal run
```

![](./demo.gif)

## Syntax

The following are examples

One variable:
```
x
```

Application of `y` to `x`:
```
xy
```

Abstraction:
```
\x.x
```

Application of `y` to abstraction `\x.x`:
```
(\x.x)y
```

## Interactive

```
a expr expr
b expr
e expr
v expr
sub x expr expr
```