3 ms·
Author here. You're not missing anything - it really does just compile prefixed binary expressions. It is a bit flippant to call it a "Lisp compiler". Saying t
by pufuwozu 15y ago
Author here. You're not missing anything - it really does just compile prefixed binary expressions.
It is a bit flippant to call it a "Lisp compiler". Saying that, I did set out to write a simple Lisp compiler - I only managed to get those expressions working in the 2-3 hours I spent on it.
I deliberately tried to call it a "Sexp compiler" instead of a "Lisp compiler" but I probably did a bad job when I wrote:
So, I set out to write a Lisp to JVM bytecode compiler.
Sorry :)
- abecedarius 15y agoFWIW, here's a small Scheme-to-JVM compiler I wrote many years ago: http://wry.me/~darius/software/yabe.tar.gz http://wry.me/~darius/software/yabe.tar.gz -- I'm sure it'd be shorter in Scala.