Solved

C++ scanner and parser

Posted on 1999-01-28
1
573 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

696 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