yacc-based parsers for c and c++ by Jim Roskind <jar@netscape.com>. It does not use the %prec and %assoc YACC features so conflicts are never hidden. The C grammar has only one shift-reduce conflict, the C++ grammar has a few more. With byacc it can produce graphical parse trees automatically. The C grammar conforms to ansi c and the C++ grammar supports cfront 2.0 constructs. Current version: cpp5 (cf2.0).
|