Well the task was not that simple as I have not written a grammar for two
years and
yacc is an LALR parser while JavaCC is a LL parser. I had to rewrite the
grammar
to get rid of left recursion and get the operator precedence and
associativity correct.
The basics are working but I have not tested all of the supported operators
and
suitable range of expressions.

I just checked in the first version, altough the previous yacc parser is
still the default.
No reason to switch until the new parser is throughly tested. I added the
ability to
use any parser that implements the ISelectorParser interface and started a
unit test
class for the JMS message selector expressions.

----- Original Message -----
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 22, 2001 3:17 PM
Subject: Re: [JBoss-dev] jbossmq selector parser grammer source


> I do. This is a very simple grammar so it will be an easy convert.
> I'll do it tonight.
>
> ----- Original Message -----
> From: "Hiram Chirino" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 22, 2001 2:46 PM
> Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
>
>
> >
> > I'm all for it..  Who knows yacc and javacc??
> >
> > Regards,
> > Hiram
> >



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to