On 27 Jul 2005, at 06:58, Sheng Wang wrote:
Since Bison 2.0 can generate GLR parser, can we use this feature to get a C++ parser that can correctly parse C++ programs that conform to the ISO standard?
There is an example in the Bison manual on how some of the C++ ambiguities can be resolved using GLR. If you want a Yacc-like C++ grammar, see http://www.parashift.com/c++-faq-lite/compiler- dependencies.html#faq-38.11 More general info about compiler construction can be found in he Usenet newsgroup comp.compilers and the FAQ published there monthly.
Hans Aberg _______________________________________________ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison