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

Arik Ter-Galstyan arik_tg at yahoo.com
Fri Oct 24 01:02:31 PDT 2008


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 ?


Thanks
Arik.


      


More information about the antlr-interest mailing list