jeme


An implementation of Scheme on the Java Virtual Machine.

http://www.eriksilkensen.com/images/jeme.png' />

The goal of this project is to provide an implementation of as much of R5RS compatible Scheme as possible, targeting the Java Virtual Machine. Scheme code is compiled directly into JVM bytecode.

Jeme will ideally be distributed as a self-hosting JAR file. Currently, MzScheme is used to bootstrap the compiler. To compile programs right now, download PLT Scheme.

If a main procedure is defined in the Scheme program, then it will be defined as the main method in the Java class. For example:

;; hello.scm (define (main args) (display "Hello, Jeme!") (newline))

And then to compile and run:

% mzscheme -t compiler.scm -m hello.scm % java hello Hello, Jeme!

Project Information

Labels:
Scheme Java compilers