[antlr-interest] how to allow keywords as variables
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Jun 5 15:04:08 PDT 2003
on 6/5/03 20:23, mzukowski at yci.com at mzukowski at yci.com wrote:
> For which see http://www.codetransform.com/filterexample.html. I believe
> there is a FAQ entry on this subject too
> http://www.jguru.com/faq/view.jsp?EID=140
Thank you, Monty!
> Monty
>
> -----Original Message-----
> From: Terence Parr [mailto:parrt at jguru.com]
> Sent: Thursday, June 05, 2003 10:20 AM
> To: antlr-interest at yahoogroups.com
> Subject: Re: [antlr-interest] how to allow keywords as variables
>
>
> Hi Ruslan,
>
> I'm afraid there are few good solutions and I didn't write down any of
> my "answers". Perhaps some people here will respond.
>
> The one interesting method may be to build a TokenStream object that
> looks at the context before and after an ID or keyword and decides
> whether to change the token type. The TokenStream might end up being a
> full-blown parser though.
>
> Terence
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list