[antlr-interest] Please help me with building AST.

Johannes Luber jaluber at gmx.de
Fri Oct 24 05:08:46 PDT 2008


Arik Ter-Galstyan schrieb:
> Johannes,
> 
> I have used ANTRL 2.7.5, 2.7.6, 2.7.7 inclusive. The same problem exists for all versions.
> If it's not a trouble for you I can send the VS2008 project to you to
analyze. Maybe it
> could help you to find what I am doing wrong.

I never used ANTLR 2.7.7 or earlier, so I don't know where potential
traps lie there.

Johannes
> 
> 
> Regards
> Arik.
> 
> 
> --- On Fri, 10/24/08, Johannes Luber <jaluber at gmx.de> wrote:
> 
>> From: Johannes Luber <jaluber at gmx.de>
>> Subject: Re: [antlr-interest] Please help me with building AST.
>> To: arik_tg at yahoo.com
>> Cc: antlr-interest at antlr.org
>> Date: Friday, October 24, 2008, 3:46 AM
>> Arik Ter-Galstyan schrieb:
>>> Almost a month I am trying to get a working Verilog
>> parser in C++ with AST via ANTLR
>>> and Verilog grammar file downloaded from ANTLR
>> website. I have tried
>> it in every
>>> possible way with different ANTLR versions, different
>> modifications of
>> grammar file,
>>> no success. After all I think that it should work by
>> simply adding the
>> buildAST=true
>>> option at the top of grammar file. No way. Without
>> buildAST=true
>> option the generated
>>> parser works fine, however with the option set the
>> generated parser
>> even fails to parse
>>> the verilog files. PLEASE TELL ME WHAT I AM MISSING ?
>> Do you use ANTLR 2.7.7? buildAST isn't used by ANTLR
>> 3.x.
>>
>> Johannes
>>> Thanks
>>> Arik.
>>>
>>>
>>>       
>>>
>>> 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