[antlr-interest] Matching all "other" text

Nathan Ward nward at resqsoft.com
Fri Jul 20 09:45:32 PDT 2007


If I want to parse source code for a given programming language (C for
example), do I have to define the full grammar first or can I make a
catch-all rule that says "match anything not matched by other rules"? Or,
perhaps I need to look into catching and ignoring Exceptions in antlr. 

   Nathan

 
Nathan Ward
ResQSoft, Inc.
703.861.9103
www.resqsoft.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070720/33d5bec9/attachment.html 


More information about the antlr-interest mailing list