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