/binary-lambda-calculus

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

Primary LanguageHTML

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