[antlr-interest] my code is marked with start/end tokens

java nagila java.nagila at gmail.com
Fri Oct 10 13:09:09 PDT 2008


Thanks for the quick reply. i'll have a look. asaf :-)

On Fri, Oct 10, 2008 at 11:00 PM, Jim Idle <jimi at temporal-wave.com> wrote:

>  On Fri, 2008-10-10 at 22:42 +0300, java nagila wrote:
>
> hi all,
>
>
>
>  i'm new to antlr, and my first real language has this thing where the
> code could be divided to many parts in arbitrary text.
>
>
>
>  here is an example input, where the code (java in this case) comes in
> parts and marked by start/end tokens ( '(|' and  '|)' ):
>
>
>
> Look at the island grammar example for how to do this. Download the
> examples from the download page on the web site.
>
> Jim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081010/8b10268f/attachment.html 


More information about the antlr-interest mailing list