On Oct 3, 2007, at 10:09 PM, Chris Lattner wrote: > > On Oct 3, 2007, at 12:49 PM, Benjamin Meyer wrote: > >> The past few months I have been writing many tools with Roberto >> Raggi's c++ preprocessor and parser. It is very fast and I have >> enjoyed messing with it. As you (chris) already know exactly what >> you guys need/want and what would make a good parser I am very >> curious what you can say about it (where it is good/bad, what it is >> missing etc) >> >> The one I have been using can be found in this package: >> >> ftp://ftp.trolltech.com/qtjambi/source/qtjambi-gpl- >> src-4.3.0_01.tar.gz >> >> Located in: generator/parser/ and the preprocessor is in generator/ >> parser/rpp > > Interesting, I wasn't aware of this work. I'll take a look at it > later tonight. It looks like it will take a while to dig in due to > lack of comments :(. > > -Chris
For what it is worth he also hacks on KDevelop and a version of the preprocessor and parser also exists there (this isn't the old KDE 3 KDevelop stuff, but the stuff in KDE for KDE4's KDevelop and it is a little different as the KDE devs have messed around with it). It uses QLALR a LALR(1) parser generator, which is fast and tiny. http://labs.trolltech.com/page/Projects/Compilers/QLALR -Benjamin Meyer _______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
