Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compiler Tools JavaCC > Several usage q...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 483 of 549
Post > Topic >>

Several usage questions...

by "news.rz.uni-karlsruhe.de" <uh5d@[EMAIL PROTECTED] > Oct 19, 2007 at 09:04 PM

Three questions:

I need a parser which can do the following....

1.) getting called from my java program like parse( String MyString ) (
can 
be done by changing the main routine in *.jj file, ok ).
2.) The tokens which my parser uses have to be supplied during runtime!
     So maybe have
TOKEN :

{

 <INTERRUPT: "ITRUE" | "IFALSE" | "IMOVE" >

}

defined in *.jj file but want to supply more INTERRUPT tokens like IHALT
or 
IEXAMPLE.

Is javacc capable to generate a generator that can be used that way?

Regards

A.Gallus
 




 2 Posts in Topic:
Several usage questions...
"news.rz.uni-karlsru  2007-10-19 21:04:49 
Re: Several usage questions...
Cesare Zecca <Cesare.Z  2007-10-22 15:39:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 2:58:24 CDT 2008.