/cxxparser

C++ parser for Lex and YACC

Primary LanguageYacc

cxxparser

A C++ parser for Lex and YACC (flex and bison).

This is a yacc-able parser for the entire ISO C++ grammer with no unresolved conflicts.This project is forked from Willink's work. Please check Willink's Fog here. http://www.computing.surrey.ac.uk/research/dsrg/fog/

The reseaon I fork this project is I can't compile Fog on my OpenSuse. this version looks fine for me.

============================== Usage:

  1. checkout source code;
  2. "make" and you will get a cppparser
  3. cppparser -c -t -y file.cpp