Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/telephil/sarcasm
really simple scheme language interpreter
https://github.com/telephil/sarcasm
r7rs scheme
Last synced: 3 months ago
JSON representation
really simple scheme language interpreter
- Host: GitHub
- URL: https://github.com/telephil/sarcasm
- Owner: telephil
- License: mit
- Created: 2018-12-07T15:38:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-08T23:54:10.000Z (almost 6 years ago)
- Last Synced: 2024-04-24T15:33:42.649Z (7 months ago)
- Topics: r7rs, scheme
- Language: C
- Size: 417 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeInterpreter - sarcasm
README
# sarcasm
A simple (even naive) work-in-progress R7RS scheme interpreter written in C11.### Building and installing
To build and install the ```sarcasm``` executable, type ```make install``` in the root directory:
```shell
$ make install
```
By default, installation is done in ```/usr/local```. This can be changed by adding a ```prefix``` variable to the ```make```command
```shell
$ make install prefix=/my/path
```**Note:** Build has been tested on:
- Mac OSX Mojave (10.14)
- Ubuntu Cosmic (18.10)#### Dependencies
- [Boehm GC](http://www.hboehm.info/gc/)
- [GMP](https://gmplib.org/)
- [FFI](https://sourceware.org/libffi/)
- [GNU Readline](https://tiswww.cwru.edu/php/chet/readline/rltop.html)### Running
The run the sarcasm interpreter, type the following command
```shell
$ sarcasm
```
Following options are recognized by the interpreter:
```
-h, --help print help and exit
-e, --eval evaluate form and exit
-s, --script execute file as a shell script
-l, --load load file then run repl
```### Licence
See ```LICENSE```