Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/polux/lambda-diagrams

Animations of lambda term reduction sequences
https://github.com/polux/lambda-diagrams

lambda-calculus

Last synced: 3 months ago
JSON representation

Animations of lambda term reduction sequences

Awesome Lists containing this project

README

        

# Lambda Diagrams

*Disclaimer: this is not an official Google product*

An implementation of John Tromp's [lambda diagrams][1] graphical notation for
lambda terms. It reads a lambda term on the standard input and renders an
animation of its evaluation.

This [youtube playlist][2] showcases animations produced with this program.

Usage:

```
stack build
stack exec lambda-diagrams < prog.lam
avconv -framerate 10 -f image2 -i /tmp/out_%04d.png -c:v h264 -crf 1 lam.mp4
```

[1]: https://tromp.github.io/cl/diagrams.html
[2]: https://www.youtube.com/playlist?list=PLi8_XqluS5xc7GL-bgVrxpA2Uww6nK0gV