|yacc -> byacc conversion firstname.lastname@example.org (1995-10-12)|
|From:||email@example.com (Derek M Jones)|
|Keywords:||yacc, question, comment|
|Date:||Thu, 12 Oct 1995 21:31:13 GMT|
I have a parser based on the skeleton use by the standard Unix
version of yacc. This parser includes error recovery in the
grammar and the parser itself.
On a different machine byacc is the LALR parser generated
supplied. Among other differences this tool uses a different
table packing algorithm.
Does anybody have experiences of converting a parser on one
tool to the other (ie maintaining the error recovery action in
the parser)? Even better does anybody know of a simple method
for maintaining a common source module that supports both parser
Yes I could simply have two parsers....
[Or you could stick with byacc and export the generated C. -John]
Return to the
Search the comp.compilers archives again.