[antlr-interest] Capturing a grammar block as a string

micha micha-1 at fantasymail.de
Mon Nov 24 00:33:47 PST 2008


On Monday 24 November 2008 01:22:52 Ilya Sterin wrote:
> So in my grammar, I capture blocks of JSON-like structures.  I don't
> want antlr to try to parse that structure, but rather to evaluate it
> as a string.

I think, that's similar to having to switch two grammars (or lexers) , so I 
would do as in  this post:

http://www.antlr.org/pipermail/antlr-interest/2005-April/011809.html

 cheers
 Michael



More information about the antlr-interest mailing list