hocker@enuxha.eas.asu.edu (Charles C. Hocker) (12/05/90)
Hello, I am currently taking a compiler class and I am interested in using Lex and Yacc to produce a subset of C++. I would greatly appreciate the grammer (or a subset of the grammer) if anyone has a copy lying around. Thanks Charles C. Hocker hocker@enuxha.eas.asu.edu
cedman@golem.ps.uci.edu (Carl Edman) (12/05/90)
In article <1884@enuxha.eas.asu.edu> hocker@enuxha.eas.asu.edu (Charles C. Hocker) writes:
Hello,
I am currently taking a compiler class and I am
interested in using Lex and Yacc to produce a subset of C++.
I would greatly appreciate the grammer (or a subset of the grammer)
if anyone has a copy lying around.
Thanks
Charles C. Hocker
hocker@enuxha.eas.asu.edu
Why don't you get the g++ distribution and simply take the (complete)
parser skeleton from there. That is (among other things) what gnu is
there for.
Carl Edman
Theorectical Physicist,N.:A physicist whose | Send mail
existence is postulated, to make the numbers | to
balance but who is never actually observed | cedman@golem.ps.uci.edu
in the laboratory. | edmanc@uciph0.ps.uci.edu