[antlr-interest] starting with language translation

Andy Tripp antlr at jazillian.com
Thu Mar 13 10:29:03 PDT 2008


Jim Idle wrote:
>   
>> -----Original Message-----
>> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
>> bounces at antlr.org] On Behalf Of Andy Tripp
>> Sent: Thursday, March 13, 2008 8:14 AM
>> To: benzo
>> Cc: antlr-interest at antlr.org
>> Subject: Re: [antlr-interest] starting with language translation
>>
>> Benzo,
>>
>> Yes, those 4 steps are fine. You'll use ANTLR to lex and parse your
>> java
>> input,
>> the data structure you'll use is called an AST (Abstract Syntax Tree).
>>
>> I would start with the latest V2 version of antlr (2.7.7 I think it is)
>> rather than V3.
>>     
>
> What? He is just starting out and is going to find it more difficult with 2.7.7 than 3.1 - I would not advise this myself.
>   
Oops, nevermind - start with V3. I was a little worried that the 
AST-building part of V3 wasn't
working well yet or that the java.g that comes with it didn't build an 
AST. I'm sure that's
all fine now, so start with V3.

Sorry about that.
>   
>> Oh, and one more thing...buy and read the ANTLR book!
>>
>>     
>
> But you just told him to use Version 2.7.7?
>
>
>
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080313/7e3acdf3/attachment.html 


More information about the antlr-interest mailing list