telephil / sarcasm

really simple scheme language interpreter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

$ make install

By default, installation is done in /usr/local. This can be changed by adding a prefix variable to the makecommand

$ make install prefix=/my/path

Note: Build has been tested on:

  • Mac OSX Mojave (10.14)
  • Ubuntu Cosmic (18.10)

Dependencies

Running

The run the sarcasm interpreter, type the following command

$ sarcasm

Following options are recognized by the interpreter:

  -h, --help                    print help and exit
  -e, --eval <form>             evaluate form and exit
  -s, --script <filename>       execute file as a shell script
  -l, --load <filename>         load file then run repl

Licence

See LICENSE

About

really simple scheme language interpreter

License:MIT License


Languages

Language:C 88.4%Language:Scheme 9.8%Language:Makefile 1.7%Language:Shell 0.1%