[antlr-interest] Context-Sensitive Follow Sets.. Bug?

Jim Idle jimi at temporal-wave.com
Fri Oct 1 08:53:52 PDT 2010


I can't work out what either of you guys mean - perhaps I missed some posts,
I have been pretty busy. If you are getting reference errors to parameters
then it just means that you are trying to use local parameters in semantic
predicates and need to store the parameter in a scope and refer to the scope
instead.

The followset is a stack at runtime and you can combine the sets or use the
stack top etc. I am not sure what else you mean by context sensitive follow
sets.

Jim

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Kunal Sawlani
Sent: Friday, October 01, 2010 7:04 AM
To: Andrey Desyatov
Cc: antlr-interest at antlr.org
Subject: Re: [antlr-interest] Context-Sensitive Follow Sets.. Bug?

Hello,

I have been looking into this as well and was wondering if ANTLR v3 supports
it.
Whenever the parser backtracks (loopbacks), the context-sensitive
information is not carried forward in the loopback, causing the parser to
complaint about reference errors for the parameters in one of my
applications.

Best regards,
On Fri, Oct 1, 2010 at 8:40 AM, Andrey Desyatov
<andrey.desyatov at gmail.com>wrote:

> Is there any progress in context-sensitive follow sets for v3.
> It's critical for our application now.
>
> Best regards,
> Andrey
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>



--
Kunal Sawlani

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list