[antlr-interest] Newbie: Reccomendations needed

Paul Johnson gt54-antlr at cyconix.com
Wed Jul 19 15:36:00 PDT 2006


Harsh Chilwal wrote:

>         The constructs are very simple. I dont want to modify the 3rd 
> party parser to make it understand our constructs. Instead i want to 
> write a preprocessor which can filter out our constructs and churn out 
> standard verilog to the 3rd party parser.
>        Is Antlr a good tool to write a preprocessor for verilog/c kind 
> of a language. 

Depends. How 'simple' are your constructs? How deeply buried in the 
grammar are they? Can you give some examples? Modifying your existing 
translator is almost certainly your best option - why don't you want to 
do this?

Paul


More information about the antlr-interest mailing list