Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

C++ scanner and parser

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

809 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