[antlr-interest] Re: Using two parsers within the same process
sofa_chef
jes_quintana at yahoo.com
Sun Jul 11 01:53:24 PDT 2004
Hi,
Thanks. I searched the archives of comp.compilers.tools.pccts and
found the solution. All I had to do was add a flag to dlg with a
string prefix for the name of the class it creates.
The dlg flag: -cl <prefix>
I'm posting it here just in case someone like me searches for it
here in the future.
--- In antlr-interest at yahoogroups.com, Monty Zukowski <monty at c...>
wrote:
> ANTLR 2 supports multiple parsers. PCCTS is discussed on the
usenet
> group comp.compilers.tools.pccts and you may get more answers to
your
> other questions there.
>
> Monty
>
>
> ANTLR & Java Consultant -- http://www.codetransform.com
> ANSI C/GCC transformation toolkit --
> http://www.codetransform.com/gcc.html
> Embrace the Decay -- http://www.codetransform.com/EmbraceDecay.html
>
>
> On Jun 26, 2004, at 8:43 PM, sofa_chef wrote:
>
> > Hi,
> > I have quite a few grammar files that I compile using PCCTS
1.33. A
> > major issue which is very annoying to me is that I can't use two
> > different parsers in the same application. I believe it's
related to
> > several global definitions that collide.
> > Did anyone else come upon this problem? Is there a way which I'm
not
> > aware of to use two parsers in the same app? Also, will moving to
> > ANTLR solve my problem?
> > Thanks,
> > Yoav Noon.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list