CMU Artificial Intelligence Repository
Home INFO Search FAQs Repository Root

Hobbit: Compiler for SCM code.

HOBBIT is a small compiler for Scheme. It compiles Scheme programs to C, and is intended to be used with Aubrey Jaffer's SCM scheme interpreter. It treats SCM as a C library and integrates compiled functions into SCM as new primitives. The main aim of Hobbit is to produce maximally fast C programs which retain most of the original Scheme program structure, making the output C program readable and modifiable. Hobbit is written in Scheme and is able to compile itself. Hobbit imposes strong restrictions on the higher-order features of Scheme. For example, it does not support continuations, it does not allow the return of closures by functions or function redefinition, and doesn't support CALL/CC, APPLY, FORCE, and DELAY. The compiler uses lambda-lifting instead of closures. If you find Hobbit useful, please support the development and maintenance of Hobbit by sending money to Tanel.
See Also: 


Version: 3 Requires: SCM Copying: Copyright (C) 1992-93 Tanel Tammet Use, copying, modification, and distribution permitted. (See file hobbit.tms for details.) Updated: Thu Nov 10 23:21:53 1994 CD-ROM: Prime Time Freeware for AI, Issue 1-1 Author(s): Tanel Tammet Department of Computer Sciences Chalmers University of Technology University of Go"teborg S-41296 Go"teborg Sweden Keywords: Authors!Tammet, Chalmers Univ. of Technology, Compilers!Scheme, HOBBIT, Programming Languages!Scheme, SCM, Scheme!Implementations References: ?
Last Web update on Mon Feb 13 10:38:05 1995