From: Mike Starr <mike.starr@ai...> - 2003-09-04 20:16:15
Why do you need the AST? Are you using it to validate the expression?
> -----Original Message-----
> From: bob mcwhirter [mailto:bob@...]
> Sent: Thursday, September 04, 2003 3:03 PM
> To: Florent LIOULT
> Cc: beanshell-users@...
> Subject: Re: RE : [Beanshell-users] expecting IDENT, found 'something
> On Thu, 4 Sep 2003, Florent LIOULT wrote:
> > I can create object in condition and bsh doesn't seem to
> restricte such a
> > creation. The top level instruction just need to be a
> expression in case of
> > condition. The only restriction we get with bsh is about creating
> > inner-class. So my previous piece of code work well in
> itself, I just need to
> > put the class in another package with no 'rule' in its
> complete name. There
> > is a kind of identifcation conflict but I can't figure which one.
> What I was trying to say is that before we shuffle the expression
> to beanshell, I run it through an ANTLR expression analyzer (since
> I can't get the AST from beanshell), and I think ANTLR is disallowing
> the 'new'.
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> Beanshell-users mailing list
From: bob mcwhirter <bob@we...> - 2003-09-04 21:30:20
On Thu, 4 Sep 2003, Mike Starr wrote:
> Why do you need the AST? Are you using it to validate the expression?
Yah, in drools I need to actually extract the identifiers of all
variables used in an expression so I can wedge the expression
(condition) into the RETE network in the appropriate place.
Get latest updates about Open Source Projects, Conferences and News.