Skip to content

irori/clamb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Universal Lambda interpreter

This is an interprefer of the Universal Lambda programming language, written in C.

The implementation is based on my Lazy K interpreter. Internally it compiles the program into an SKI combinator expression, and evaluates it in a similar way to the Lazy K interpreter.

Usage

$ clamb [options] input-file...

Like the original lamb interpreter, clamb does not distinguish between source files and input. It parses a program from the concatenation of all input-files and stdin at the end, and the remaining bytes are treated as input.

Options:

  • -h: Print help and exit.
  • -u: Disable stdout buffering.
  • -p: Parse the program, print it and exit.
  • -v: Print version and exit.
  • -v0 (default): Do not print any debug information.
  • -v1: Print some statistics after execution.
  • -v2: Print logs for garbage collections.

License

This software is released under the MIT License.

About

Universal Lambda interpreter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages