ISO C++ grammar Lex/Yacc specification

vikasb@robosoftin.com (Vikas)
13 Apr 2003 12:27:25 -0400

          From comp.compilers

Related articles
ISO C++ grammar Lex/Yacc specification vikasb@robosoftin.com (2003-04-13)
| List of all articles for this month |
From: vikasb@robosoftin.com (Vikas)
Newsgroups: comp.compilers
Date: 13 Apr 2003 12:27:25 -0400
Organization: http://groups.google.com/
Keywords: C++, parse, question
Posted-Date: 13 Apr 2003 12:27:25 EDT

Hi All,


I am trying to make a C++ parser and hence i needed Lex-Yacc grammar
for C++. After searching on the internet I found them. Sandro Sigala
has done a good job. But I am facing problems. I configured Flex and
Bison for VC++ 6.0 and I have successfully completed few sample
Lex/Yacc specification. Finally I moved to use Sigala's grammar and it
runs. But it gives parser error for every valid input. Has any one of
you used his Grammar ? How to use extend the grammar for my
requirement ? I am including the grammar at the end for your
reference.


Thanks in advance,
Vikas


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.