Fred Haineux <email@example.com> wrote:
| I am certain I am not the only person who has wondered if there's a way to
| compile lisp into something that runs on top of the Java Virtual Machine.
Kawa is a Scheme environment, written in Java, and that compiles
Scheme code into Java byte-codes.
Kawa is a full Scheme implementation. It implements almost all of
R4RS (for exceptions see section Features of R4RS not implemented),
plus some extensions. It provides define-syntax from the R4RS
appendix, and (from the draft R5RS) eval and multiple values.
It is completely written in Java. Scheme functions and files
are automatically compiled into Java byte-codes, providing
reasonable speed. (However, Kawa is not an optimizing compiler,
and does not perform major transformations on the code.)
Would probably take significant work to modify Kawa to compile Common Lisp
rather than Scheme, but its existence shows that what you're asking is
Rob Warnock, 7L-551 firstname.lastname@example.org http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673 [New area code!]
2011 N. Shoreline Blvd. FAX: 650-933-4392
Mountain View, CA 94043 PP-ASEL-IA