[antlr-interest] Jasmin/LLVM/other

Andreas Stefik stefika at gmail.com
Thu Aug 18 12:32:24 PDT 2011


Hey folks,

I'm teaching a compiler theory course in ANTLR this fall and am trying
to decide what kind of code I want the students to output to by the
end of the course. I have considered something like Jasmin, as it's in
chapter 9 of Terence's book:

http://jasmin.sourceforge.net/

However, I have some concerns that Jasmin isn't well supported any
more, with the last source check-in, it seems, around 6 years ago, and
am considering something like LLVM:

http://llvm.org/

I'm not an expert in either tool, as in the past I've had students
writing something more akin to a VM, so I'll have a bit of a learning
curve myself before we get into that part of the course. Folks have
any recommendations? Does one or the other, or a third alternative,
have a particularly good/nasty (learning curve | documentation |
real-world applicability | other issue)? Any other better supported
Java byte code generators (which might be preferable)?

Stefik


More information about the antlr-interest mailing list