Scheme In One Defun
(or Scheme In One Day
) is a small-footprint implementation of the Scheme programming language
, written in C
and designed to be embedded inside C programs. It was originally written by Professor George J. Carrette
at Boston University
as a demonstration in a laboratory.
- SIOD implements the original version of Scheme from the Lambda Papers, but it does not implement any of the modern language standards.
- SIOD represents a very early use of conservative garbage collection in a Lisp interpreter, a technique which was later copied by SCM and Guile.
- Compilation is implemented by emitting a fixed machine code prologue followed by a fast-loading binary representation of the parse tree to be interpreted.