Hello !
I'm trying to revive the open source UnderC C/C++ interpreter and make it
compilable with modern compilers, I managed to solve the compilation problem
on windows with mingw, with vc++ 2008 it compiles but crash and the same
happens on linux but interesting enough if I compile then with for
On 29 Mar 2010, at 20:36, Domingo Alvarez Duarte wrote:
It seems that the problem derives from the reduce/reduce conflicts
that some
modification to the grammar in the past could introduced.
For reduce/reduce conflicts, one has to generally rewrite the grammar
or use the %glr feature (see
Please cc the Help-Bison mailing list, so that others can help.
Hans
On 29 Mar 2010, at 23:58, Domingo Alvarez Duarte wrote:
I did looked at both but till now I couldn't figure out how to solve
then and that is the reason I'm posting it to see if some people
with higher knowledge can giv
I did looked at both but till now I couldn't figure out how to solve then
and that is the reason I'm posting it to see if some people with higher
knowledge can give me a clue !
Also this part of the grammar is responsible for 96 reduce reduce conflicts:
/* bitwise */
| BIN_NOT _expr{ $$=
There is also a c++ yacc parser available from 1988
in the oldest recovered version of g++, that is how
g++ started. When dealing with such a complex c++
grammar maybe interesting for you to take a look how
GNU long ago did such a parser. Put it as bundle at:
https://code.google.com/p/oldbison/down