Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Dain Sundstrom

What do you mean by selector parser?

I could adapt the parser that is used for EJB-QL to parse.  It is a generic
non-deterministic recusive descent parser, so it is not fast for complicated
grammers.  This is only an issue if you want to parse on the fly.

-dain

- Original Message -
From: Jason Dillon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 21, 2001 7:46 PM
Subject: [JBoss-dev] jbossmq selector parser grammer source


 Where is the source for the selector parser?  It looks like it is not
 parsing the literals true and false, it only looks for TRUE and
 FALSE.

 I am contemplating modifiying parser.java int yylex() under the file://CST
group
 group, but I would rather modify the grammer source and regenerate the
 parser.

 Perhaps we could switch this to javacc and let ant build the parser as
part
 of the build.

 It looks like there might be a problem with Operator.equal() too, which I
am
 looking into now...  Yup, sure is.  Operator.equal() does not properly
 handle Boolean types.

 I have just fixed (and verified) both of these problems.  Should I commit
 them?  Silly me, of course I should commit them... but where is jms.y?
When
 ever the parser is regenerated from this it will blow away these changes.

 Can someone change this to javacc, check in the source grammer and setup
the
 build system to automatically generate this?

 --jason


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



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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Hiram Chirino


Can you send it to me???  I'll check it in.

Regards,
Hiram

From: Juha-P Lindfors [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
Date: Wed, 22 Aug 2001 13:01:02 +0300 (EET DST)


   I have just fixed (and verified) both of these problems.  Should I 
commit
   them?  Silly me, of course I should commit them... but where is jms.y?

I have the jms.y as part of the old spyderMQ module in
src/java/org/spydermq/selectors.

No idea where it is in the newer modules, or if it was ever transferred.
But check the SpyderMQ in CVS.

-- Juha


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


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Juha-P Lindfors


It's here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/spyderMQ/src/java/org/spydermq/selectors/

this is the boolean equal check:

//CST group
if (s.equals(TRUE)) {
yylval = new parserval((Object)Boolean.TRUE);
return CST;
}
if (s.equals(FALSE)) {
yylval = new parserval((Object)Boolean.FALSE);
return CST;
}

-- Juha



On Wed, 22 Aug 2001, Hiram Chirino wrote:


 Can you send it to me???  I'll check it in.

 Regards,
 Hiram

 From: Juha-P Lindfors [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
 Date: Wed, 22 Aug 2001 13:01:02 +0300 (EET DST)
 
 
I have just fixed (and verified) both of these problems.  Should I
 commit
them?  Silly me, of course I should commit them... but where is jms.y?
 
 I have the jms.y as part of the old spyderMQ module in
 src/java/org/spydermq/selectors.
 
 No idea where it is in the newer modules, or if it was ever transferred.
 But check the SpyderMQ in CVS.
 
 -- Juha
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-development


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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



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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Jason Dillon

On Wed, 22 Aug 2001, Dain Sundstrom wrote:

 What do you mean by selector parser?

There is a parser.java which looks to be generated from a jms.y grammer
which is used to parse JMS message selectors.  The generated parser source
is checked in but not the grammer.

--jason

 I could adapt the parser that is used for EJB-QL to parse.  It is a generic
 non-deterministic recusive descent parser, so it is not fast for complicated
 grammers.  This is only an issue if you want to parse on the fly.

 -dain

 - Original Message -
 From: Jason Dillon [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, August 21, 2001 7:46 PM
 Subject: [JBoss-dev] jbossmq selector parser grammer source


  Where is the source for the selector parser?  It looks like it is not
  parsing the literals true and false, it only looks for TRUE and
  FALSE.
 
  I am contemplating modifiying parser.java int yylex() under the file://CST
 group
  group, but I would rather modify the grammer source and regenerate the
  parser.
 
  Perhaps we could switch this to javacc and let ant build the parser as
 part
  of the build.
 
  It looks like there might be a problem with Operator.equal() too, which I
 am
  looking into now...  Yup, sure is.  Operator.equal() does not properly
  handle Boolean types.
 
  I have just fixed (and verified) both of these problems.  Should I commit
  them?  Silly me, of course I should commit them... but where is jms.y?
 When
  ever the parser is regenerated from this it will blow away these changes.
 
  Can someone change this to javacc, check in the source grammer and setup
 the
  build system to automatically generate this?
 
  --jason
 
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/jboss-development
 


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



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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Jason Dillon

Unless s has been toUpperCase() (which I did not explictly check), then this
is not spec compliant.  It needs to check for true and false too.

Do you know what is used to generate parser.java from jms.y?

--jason


On Wed, 22 Aug 2001, Juha-P Lindfors wrote:

 It's here:
 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/spyderMQ/src/java/org/spydermq/selectors/

 this is the boolean equal check:

 //CST group
 if (s.equals(TRUE)) {
 yylval = new parserval((Object)Boolean.TRUE);
 return CST;
 }
 if (s.equals(FALSE)) {
 yylval = new parserval((Object)Boolean.FALSE);
 return CST;
 }

 -- Juha



 On Wed, 22 Aug 2001, Hiram Chirino wrote:

 
  Can you send it to me???  I'll check it in.
 
  Regards,
  Hiram
 
  From: Juha-P Lindfors [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
  Date: Wed, 22 Aug 2001 13:01:02 +0300 (EET DST)
  
  
 I have just fixed (and verified) both of these problems.  Should I
  commit
 them?  Silly me, of course I should commit them... but where is jms.y?
  
  I have the jms.y as part of the old spyderMQ module in
  src/java/org/spydermq/selectors.
  
  No idea where it is in the newer modules, or if it was ever transferred.
  But check the SpyderMQ in CVS.
  
  -- Juha
  
  
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
  _
  Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
 
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/jboss-development
 


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



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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Juha-P Lindfors



On Wed, 22 Aug 2001, Jason Dillon wrote:

 Do you know what is used to generate parser.java from jms.y?

//### This file created by BYACC 1.8(/Java extension  0.92)
//### Java capabilities added 7 Jan 97, Bob Jamison
//### Updated : 27 Nov 97  -- Bob Jamison, Joe Nieten
//###   01 Jan 98  -- Bob Jamison -- fixed generic semantic
//###   01 Jun 99  -- Bob Jamison -- added Runnable support
//### Please send bug reports to [EMAIL PROTECTED]
//### static char yysccsid[] = @(#)yaccpar 1.8 (Berkeley) 01/20/90;


-- Juha


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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Hiram Chirino


I think Byacc.   Can I get a win32 ver of that???

Regards,
Hiram

From: Jason Dillon [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
Date: Wed, 22 Aug 2001 12:41:33 -0700 (PDT)

Unless s has been toUpperCase() (which I did not explictly check), then 
this
is not spec compliant.  It needs to check for true and false too.

Do you know what is used to generate parser.java from jms.y?

--jason


On Wed, 22 Aug 2001, Juha-P Lindfors wrote:

  It's here:
  
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/spyderMQ/src/java/org/spydermq/selectors/
 
  this is the boolean equal check:
 
  //CST group
  if (s.equals(TRUE)) {
  yylval = new parserval((Object)Boolean.TRUE);
  return CST;
  }
  if (s.equals(FALSE)) {
  yylval = new parserval((Object)Boolean.FALSE);
  return CST;
  }
 
  -- Juha
 
 
 
  On Wed, 22 Aug 2001, Hiram Chirino wrote:
 
  
   Can you send it to me???  I'll check it in.
  
   Regards,
   Hiram
  
   From: Juha-P Lindfors [EMAIL PROTECTED]
   Reply-To: [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
   Date: Wed, 22 Aug 2001 13:01:02 +0300 (EET DST)
   
   
  I have just fixed (and verified) both of these problems.  Should 
I
   commit
  them?  Silly me, of course I should commit them... but where is 
jms.y?
   
   I have the jms.y as part of the old spyderMQ module in
   src/java/org/spydermq/selectors.
   
   No idea where it is in the newer modules, or if it was ever 
transferred.
   But check the SpyderMQ in CVS.
   
   -- Juha
   
   
   ___
   Jboss-development mailing list
   [EMAIL PROTECTED]
   http://lists.sourceforge.net/lists/listinfo/jboss-development
  
  
   _
   Get your FREE download of MSN Explorer at 
http://explorer.msn.com/intl.asp
  
  
   ___
   Jboss-development mailing list
   [EMAIL PROTECTED]
   http://lists.sourceforge.net/lists/listinfo/jboss-development
  
 
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/jboss-development
 


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


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Juha-P Lindfors


Try http://troi.lincom-asg.com/~rjamison/byacc/
(at the bottom of the page)

it contains a win exe, with byaccj 1.1 (so slightly newer)

yacc -Jclass=parser jms.y

-- Juha


On Wed, 22 Aug 2001, Hiram Chirino wrote:


 I think Byacc.   Can I get a win32 ver of that???

 Regards,
 Hiram

 From: Jason Dillon [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
 Date: Wed, 22 Aug 2001 12:41:33 -0700 (PDT)
 
 Unless s has been toUpperCase() (which I did not explictly check), then
 this
 is not spec compliant.  It needs to check for true and false too.
 
 Do you know what is used to generate parser.java from jms.y?
 
 --jason
 
 
 On Wed, 22 Aug 2001, Juha-P Lindfors wrote:
 
   It's here:
  
 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/spyderMQ/src/java/org/spydermq/selectors/
  
   this is the boolean equal check:
  
   //CST group
   if (s.equals(TRUE)) {
   yylval = new parserval((Object)Boolean.TRUE);
   return CST;
   }
   if (s.equals(FALSE)) {
   yylval = new parserval((Object)Boolean.FALSE);
   return CST;
   }
  
   -- Juha
  
  
  
   On Wed, 22 Aug 2001, Hiram Chirino wrote:
  
   
Can you send it to me???  I'll check it in.
   
Regards,
Hiram
   
From: Juha-P Lindfors [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
Date: Wed, 22 Aug 2001 13:01:02 +0300 (EET DST)


   I have just fixed (and verified) both of these problems.  Should
 I
commit
   them?  Silly me, of course I should commit them... but where is
 jms.y?

I have the jms.y as part of the old spyderMQ module in
src/java/org/spydermq/selectors.

No idea where it is in the newer modules, or if it was ever
 transferred.
But check the SpyderMQ in CVS.

-- Juha


___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development
   
   
_
Get your FREE download of MSN Explorer at
 http://explorer.msn.com/intl.asp
   
   
___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development
   
  
  
   ___
   Jboss-development mailing list
   [EMAIL PROTECTED]
   http://lists.sourceforge.net/lists/listinfo/jboss-development
  
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-development


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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




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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Scott M Stark

Take a look at JavaCC for language parsers. Infinitely cleaner and
easier than other parsers I have tried.
http://www.webgain.com/products/metamata/java_doc.html

- Original Message -
From: Juha-P Lindfors [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 1:57 PM
Subject: Re: [JBoss-dev] jbossmq selector parser grammer source



 Try http://troi.lincom-asg.com/~rjamison/byacc/
 (at the bottom of the page)

 it contains a win exe, with byaccj 1.1 (so slightly newer)

 yacc -Jclass=parser jms.y

 -- Juha


 On Wed, 22 Aug 2001, Hiram Chirino wrote:

 
  I think Byacc.   Can I get a win32 ver of that???
 
  Regards,
  Hiram
 
  From: Jason Dillon [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
  Date: Wed, 22 Aug 2001 12:41:33 -0700 (PDT)
  
  Unless s has been toUpperCase() (which I did not explictly check), then
  this
  is not spec compliant.  It needs to check for true and false too.
  
  Do you know what is used to generate parser.java from jms.y?
  
  --jason
  
  
  On Wed, 22 Aug 2001, Juha-P Lindfors wrote:
  
It's here:
   
 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/spyderMQ/src/java/org/
spydermq/selectors/
   
this is the boolean equal check:
   
//CST group
if (s.equals(TRUE)) {
yylval = new
parserval((Object)Boolean.TRUE);
return CST;
}
if (s.equals(FALSE)) {
yylval = new
parserval((Object)Boolean.FALSE);
return CST;
}
   
-- Juha
   
   
   
On Wed, 22 Aug 2001, Hiram Chirino wrote:
   

 Can you send it to me???  I'll check it in.

 Regards,
 Hiram

 From: Juha-P Lindfors [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
 Date: Wed, 22 Aug 2001 13:01:02 +0300 (EET DST)
 
 
I have just fixed (and verified) both of these problems.
Should
  I
 commit
them?  Silly me, of course I should commit them... but where
is
  jms.y?
 
 I have the jms.y as part of the old spyderMQ module in
 src/java/org/spydermq/selectors.
 
 No idea where it is in the newer modules, or if it was ever
  transferred.
 But check the SpyderMQ in CVS.
 
 -- Juha
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-development


 _
 Get your FREE download of MSN Explorer at
  http://explorer.msn.com/intl.asp


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

   
   
___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development
   
  
  
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
  _
  Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
 
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/jboss-development
 



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



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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Jason Dillon

Where do I get this from?  I would like to integrate it into the build
system.

--jason


On Wed, 22 Aug 2001, Juha-P Lindfors wrote:



 On Wed, 22 Aug 2001, Jason Dillon wrote:
 
  Do you know what is used to generate parser.java from jms.y?

 //### This file created by BYACC 1.8(/Java extension  0.92)
 //### Java capabilities added 7 Jan 97, Bob Jamison
 //### Updated : 27 Nov 97  -- Bob Jamison, Joe Nieten
 //###   01 Jan 98  -- Bob Jamison -- fixed generic semantic
 //###   01 Jun 99  -- Bob Jamison -- added Runnable support
 //### Please send bug reports to [EMAIL PROTECTED]
 //### static char yysccsid[] = @(#)yaccpar 1.8 (Berkeley) 01/20/90;


 -- Juha


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



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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Jason Dillon

Lets convert the grammer/parser to javacc so that everyone can build it.

--jason


On Wed, 22 Aug 2001, Hiram Chirino wrote:


 I think Byacc.   Can I get a win32 ver of that???

 Regards,
 Hiram

 From: Jason Dillon [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
 Date: Wed, 22 Aug 2001 12:41:33 -0700 (PDT)
 
 Unless s has been toUpperCase() (which I did not explictly check), then
 this
 is not spec compliant.  It needs to check for true and false too.
 
 Do you know what is used to generate parser.java from jms.y?
 
 --jason
 
 
 On Wed, 22 Aug 2001, Juha-P Lindfors wrote:
 
   It's here:
  
 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/spyderMQ/src/java/org/spydermq/selectors/
  
   this is the boolean equal check:
  
   //CST group
   if (s.equals(TRUE)) {
   yylval = new parserval((Object)Boolean.TRUE);
   return CST;
   }
   if (s.equals(FALSE)) {
   yylval = new parserval((Object)Boolean.FALSE);
   return CST;
   }
  
   -- Juha
  
  
  
   On Wed, 22 Aug 2001, Hiram Chirino wrote:
  
   
Can you send it to me???  I'll check it in.
   
Regards,
Hiram
   
From: Juha-P Lindfors [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
Date: Wed, 22 Aug 2001 13:01:02 +0300 (EET DST)


   I have just fixed (and verified) both of these problems.  Should
 I
commit
   them?  Silly me, of course I should commit them... but where is
 jms.y?

I have the jms.y as part of the old spyderMQ module in
src/java/org/spydermq/selectors.

No idea where it is in the newer modules, or if it was ever
 transferred.
But check the SpyderMQ in CVS.

-- Juha


___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development
   
   
_
Get your FREE download of MSN Explorer at
 http://explorer.msn.com/intl.asp
   
   
___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development
   
  
  
   ___
   Jboss-development mailing list
   [EMAIL PROTECTED]
   http://lists.sourceforge.net/lists/listinfo/jboss-development
  
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-development


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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



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



Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-22 Thread Hiram Chirino


I'm all for it..  Who knows yacc and javacc??

Regards,
Hiram

From: Jason Dillon [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
Date: Wed, 22 Aug 2001 14:43:12 -0700 (PDT)

Lets convert the grammer/parser to javacc so that everyone can build it.

--jason


On Wed, 22 Aug 2001, Hiram Chirino wrote:

 
  I think Byacc.   Can I get a win32 ver of that???
 
  Regards,
  Hiram
 
  From: Jason Dillon [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
  Date: Wed, 22 Aug 2001 12:41:33 -0700 (PDT)
  
  Unless s has been toUpperCase() (which I did not explictly check), then
  this
  is not spec compliant.  It needs to check for true and false too.
  
  Do you know what is used to generate parser.java from jms.y?
  
  --jason
  
  
  On Wed, 22 Aug 2001, Juha-P Lindfors wrote:
  
It's here:
   
  
 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/spyderMQ/src/java/org/spydermq/selectors/
   
this is the boolean equal check:
   
//CST group
if (s.equals(TRUE)) {
yylval = new 
parserval((Object)Boolean.TRUE);
return CST;
}
if (s.equals(FALSE)) {
yylval = new 
parserval((Object)Boolean.FALSE);
return CST;
}
   
-- Juha
   
   
   
On Wed, 22 Aug 2001, Hiram Chirino wrote:
   

 Can you send it to me???  I'll check it in.

 Regards,
 Hiram

 From: Juha-P Lindfors [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] jbossmq selector parser grammer source
 Date: Wed, 22 Aug 2001 13:01:02 +0300 (EET DST)
 
 
I have just fixed (and verified) both of these problems.  
Should
  I
 commit
them?  Silly me, of course I should commit them... but where 
is
  jms.y?
 
 I have the jms.y as part of the old spyderMQ module in
 src/java/org/spydermq/selectors.
 
 No idea where it is in the newer modules, or if it was ever
  transferred.
 But check the SpyderMQ in CVS.
 
 -- Juha
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-development


 _
 Get your FREE download of MSN Explorer at
  http://explorer.msn.com/intl.asp


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

   
   
___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development
   
  
  
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
  _
  Get your FREE download of MSN Explorer at 
http://explorer.msn.com/intl.asp
 
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/jboss-development
 


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


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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