[antlr-interest] skip the grammer

Tamas Kerecsen kerecsen at gmail.com
Wed Aug 16 10:56:48 PDT 2006


---------- Forwarded message ----------
From: Tamas Kerecsen <kerecsen at gmail.com>
Date: Aug 16, 2006 11:56 AM
Subject: Re: [antlr-interest] skip the grammer
To: Abhijit Nandkumar Ghonge <Abhijit_Ghonge at infosys.com>

See "Island grammars" in
http://www.cs.usfca.edu/~parrt/course/652/lectures/lexing.html<http://www.cs.usfca.edu/%7Eparrt/course/652/lectures/lexing.html>.


On 8/16/06, Abhijit Nandkumar Ghonge <Abhijit_Ghonge at infosys.com> wrote:
>
>   Can anybody help me out with this?
>
>
>
> I want to skip the grammar for the parser rules till I find the *start* of
> script. i.e*. I want to parse the script only between start and end tokens
> and skip the rest that is written outside the start and end tags, *like we
> have %s in lex.
>
>
>
> Regards,
>
> Abhijit
>
>
>
>
>
>
>
>
>
>
>  **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this e-mail
> or its contents to any other person and any such actions are unlawful. This
> e-mail may contain viruses. Infosys has taken every reasonable precaution to
> minimize this risk, but is not liable for any damage you may sustain as a
> result of any virus in this e-mail. You should carry out your own virus
> checks before opening the e-mail or attachment. Infosys reserves the right
> to monitor and review the content of all messages sent to or from this
> e-mail address. Messages sent to or from this e-mail address may be stored
> on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060816/cac4036e/attachment.html


More information about the antlr-interest mailing list