ISO C++ grammar Lex/Yacc specification (Vikas)
13 Apr 2003 12:27:25 -0400

          From comp.compilers

Related articles
ISO C++ grammar Lex/Yacc specification (2003-04-13)
| List of all articles for this month |

From: (Vikas)
Newsgroups: comp.compilers
Date: 13 Apr 2003 12:27:25 -0400
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

Thanks in advance,

Post a followup to this message

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