|multi-language parsing by using yacc pliang@msmail4.HAC.COM (Peter Liang) (1995-08-13)|
|Re: multi-language parsing by using yacc firstname.lastname@example.org (steve (s.s.) simmons) (1995-08-17)|
|Re: multi-language parsing by using yacc email@example.com (1995-08-21)|
|Re: multi-language parsing by using yacc firstname.lastname@example.org (Cees Visser) (1995-08-21)|
|Re: multi-language parsing by using yacc email@example.com (1995-08-21)|
|multi-language parsing by using yacc 75066.3204@CompuServe.COM (Carl Barron) (1995-08-22)|
|From:||Peter Liang <pliang@msmail4.HAC.COM>|
|Organization:||Hughes Aircraft Company|
|Date:||Sun, 13 Aug 1995 23:48:07 GMT|
Does anyone have experience using yacc to specifiy several grammars
in one parser application for parsing different languages (files)?
In other words, can I create multi-instances of parsers by using yacc?
Does yacc++ help?
Thanks in advance
[There's two basic approaches. Either hack on the yacc output and make two
parsers with different symbol names, or else glom the two grammars together
with a fake initial token to tell them apart. -John]
Return to the
Search the comp.compilers archives again.