From: Suraj N. K. <sn...@gn...> - 2008-08-03 20:16:32
|
Shlomy Reinstein wrote: > Thanks for the suggestion, but with ANTLR I'd still need to do a lot > of work, just like with javacc and other such parsers. This is not > what I am looking for. I need something that will help me quickly get > the job done, just querying the information I need, not building a DB > on my own by writing rule actions. How about using GCCXML[1]? "There is one open-source C++ parser, the C++ front-end to GCC, which is currently able to deal with the language in its entirety." The rb++ project[2] uses GCCXML successfully for simplifying the process of creating Ruby extensions in C++. [1] http://www.gccxml.org/HTML/Index.html [2] http://rbplusplus.rubyforge.org/ |