C++ scanner and parser

I would like to use Lex/Yacc to build C++ scanner and parser but doesn't have to generate code for any specific machine. Is there samples or source code that does this kind of things. I appreciate any pointer to web sites that has information or help related to this stuff.

Thank You
Who is Participating?
jhanceConnect With a Mentor Commented:
You can get the source to GCC from www.gnu.org.  The parser is written in Flex/Bison (GNU equivalents of LEX/YACC).
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.