We've spent the better part of an elapsed decade and/or a man-century depending on your perspective, building transformational machinery to carry out general parsing/analysis/transformation, and a signficant chunk of the last 5 years building robust C++ parser front ends for that machinery, using extremely experienced computer science language experts.
I don't want to rain on your parade, but kids, please don't try this at home, unless your goals are extremely limited.
See http://www.semdesigns.com/Products/...ppFrontEnd.html
--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
一百人年+极富经验的程序语言专家... 好罢,我就是想 try this 一下 at home.