melvinzhang / binary-lambda-calculus

For exploring http://www.ioccc.org/2012/tromp/hint.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The objective of this project is to understand John Tromp's 2012 IOCCC entry.

Done

Todo

Usage

uni is an interpreter for binary lambda calculus based on the Krivine machine. It reads from standard input a program description followed by input for the program, and output the result to the standard output.

It supports the following options:

  • -B: byte mode (default)
  • -b: binary mode
  • -o: enable all optmizations
  • -l: enable call-by-need optimization
  • -c: enable "collapse marker" optimization
  • -s: enable "eager dereferncing" optimization

About

For exploring http://www.ioccc.org/2012/tromp/hint.html


Languages

Language:HTML 33.8%Language:C++ 23.7%Language:C 17.8%Language:Makefile 11.9%Language:Python 4.8%Language:Scheme 4.1%Language:Awk 3.3%Language:Brainfuck 0.4%Language:Perl 0.2%