Slisp: Simple Lisp compiler (Linux/amd64)
This repository contains slisp a compiler which will read lisp programs as input, and generate standalone assembly representations for Linux/AMD64.
The project is either named for "Simple Lisp" or "Steve's lisp", take your pick.
Lisp is traditionally interactive, and provides a REPL, but having a compiled version is still useful, and still allows most common lisp-programs to execute.
There are several examples beneath our test/ directory, including:
example.lisp has other misc. snippets, and finally brainfuck.lisp contains a useful/working brainfuck interpreter.
It should be noted that we prepend a standard library of functions to all user programs unless -stdlib=false is added to the command line. That library itself is a useful reference/demonstration of functionality: