Hey all,
We're having a lot of fun here porting the Open C++
parser to Java for potential use in the CDT. We've started parsing
some basic things like stdio.h and performance up until now seems to be
reasonable.
However, before we get too far, people on the conference
call on Monday mentioned they had experience with the Open C++ parser and were
willing to share that with us. If you were one of those persons, could
you please drop us a line. I have made some changes to make the parser do
what we want including: our own handwritten scanner that also handles
pre-processor directives, using exceptions for backtracking, replacing the
Ptree with our own JDT-like AST, amongst other minor changes. In the end,
we're really only using the grammar and the strategy of handwriting the
parser. And it seems to be working although there is a lot of testing
that needs to go on...
Cheers,
Doug Schaefer
Senior
Staff Software Engineer
Rational - the software development
company
Ottawa (Kanata), Ontario, Canada