|Which YACC tool do you recommend? firstname.lastname@example.org (2000-01-15)|
|Re: Which YACC tool do you recommend? email@example.com (Vladimir Makarov) (2000-01-19)|
|From:||Vladimir Makarov <firstname.lastname@example.org>|
|Date:||19 Jan 2000 01:16:00 -0500|
> Can anybody recommend a yacc tool?
You could try MSTA from COCOM toolset. You can find it on
MSTA implements POSIX YACC + many extensions.
> I am currently using a 5 year old version of MKS yacc. So far, I am
> quite satified, however there are some restrictions:
> - 16 bit, using extended memory
> - it does not support long file names
MSTA supports LALR(k)- and LR(k)-grammars (k>0). Moreover it generates
only code which makes minimal lookahead for resolving each conflict.
> running under NT
It works on the most of Unixes and WIN32. There is installshield
version of distribution and also sources which can be compiled by
Microsoft VC++ version 6.0 or CYGWIN.
It generates C and C++ code.
> long file names
It supports this for WIN32.
> definition of parser stack types (%type instruction)
> good support of error recovery and error reporting
There is standard YACC error recovery and improved one.
> multiple actions per production
> selection preference for resolving conflicts
You can use YACC %prec constructions and special constructions which
constrain lookahead when you generate a LALR(k) or LR(k) parser for k >
> support for debugging and for detecting+correcting shift / reduce
It can output all LR-situations of LR-set and LR-situations with context
for better debugging.
Return to the
Search the comp.compilers archives again.