Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/irori/clamb
Universal Lambda interpreter
https://github.com/irori/clamb
Last synced: 3 months ago
JSON representation
Universal Lambda interpreter
- Host: GitHub
- URL: https://github.com/irori/clamb
- Owner: irori
- License: mit
- Created: 2012-01-06T12:11:41.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T02:18:17.000Z (7 months ago)
- Last Synced: 2024-10-31T14:26:05.551Z (3 months ago)
- Language: C
- Homepage:
- Size: 10.7 KB
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeInterpreter - clamb
README
# Universal Lambda interpreter
This is an interprefer of the [Universal Lambda](http://www.golfscript.com/lam/)
programming language, written in C.The implementation is based on my [Lazy K interpreter](https://github.com/irori/lazyk).
Internally it compiles the program into an SKI combinator expression, and
evaluates it in a similar way to the Lazy K interpreter.## Usage
```sh
$ 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](LICENSE).