Related articles |
---|
yacc -> byacc conversion derek@knosof.co.uk (1995-10-12) |
Newsgroups: | comp.compilers |
From: | derek@knosof.co.uk (Derek M Jones) |
Keywords: | yacc, question, comment |
Organization: | Compilers Central |
Date: | Thu, 12 Oct 1995 21:31:13 GMT |
All,
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
generators.
Yes I could simply have two parsers....
derek
[Or you could stick with byacc and export the generated C. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.