Home

Awesome

scheme

(what will be) A scheme compiler

The bootstrap directory contains the following: bootstrap.c is a bootstrap interpreter for scheme, intended for bootstraping compile/compile.scm (currently non-existant because git doeesn't track empty directories). prims.c contains the primitive procedures for the bootstrapper lib.scm implements a standard library for the bootstrapper to run.

To test, type at a terminal:

$ make
$ ./bootstrap/bootstrap
> (load "bootstrap/lib.scm")

prims.c currently defines:

bootstrap.c currently recognises the following special forms:

bootstrap/lib.scm defines:

The following (non-standard) variable is availiable on startup:

Currently tested on Ubuntu only. SHOULD work on all OSs currently (though untested) but I only plan to support unix.