Solved

C++ scanner and parser

Posted on 1999-01-28
1
546 Views
Last Modified: 2012-06-22
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
Paskorn
0
Comment
Question by:apirpas
1 Comment
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 1185441
You can get the source to GCC from www.gnu.org.  The parser is written in Flex/Bison (GNU equivalents of LEX/YACC).
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now