Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :)


FWIW, here's a small Scheme-to-JVM compiler I wrote many years ago: http://wry.me/~darius/software/yabe.tar.gz -- I'm sure it'd be shorter in Scala.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: