[antlr-interest] Jasmin/LLVM/other

Terence Parr parrt at cs.usfca.edu
Thu Aug 18 17:28:44 PDT 2011


Hi. Could also look at my antlr llvm example that did not make it into the book:

http://www.antlr.org/wiki/display/ANTLR3/LLVM

Ter
On Aug 18, 2011, at 2:55 PM, Andreas Stefik wrote:

> Cool, thanks Jim. I looked at ASM this afternoon and it seems very
> promising. I'm glad to have some confirmation outside myself that it
> works pretty well before I dive in.
> 
> Stefik
> 
> On Thu, Aug 18, 2011 at 4:40 PM, Jim Idle <jimi at temporal-wave.com> wrote:
>> ASM is easily the best .class generator in my mind. LLVM is very
>> mainstream too and I would recommend either of these as being useful after
>> you are a student on top.
>> 
>> Jim
>> 
>>> -----Original Message-----
>>> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
>>> bounces at antlr.org] On Behalf Of Andreas Stefik
>>> Sent: Thursday, August 18, 2011 1:42 PM
>>> To: antlr-interest at antlr.org
>>> Subject: Re: [antlr-interest] Jasmin/LLVM/other
>>> 
>>> anyone used these:
>>> 
>>> http://asm.ow2.org/index.html
>>> 
>>> for example? Seems like a plausible candidate.
>>> 
>>> Stefik
>>> 
>>> On Thu, Aug 18, 2011 at 2:32 PM, Andreas Stefik <stefika at gmail.com>
>>> wrote:
>>>> 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
>>>> 
>>> 
>>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>>> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
>>> email-address
>> 
>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list