资 源 简 介
flex++ and bison++ were created from flex and bison by A. Coetmeur in the 1990s.
These two programs provided seamless integration with C++, allowing developers to code actions in C++ and embed a parser and scanner within a class by private inheritance. The latter capability allows multiple scanners and parsers to be used within a single program, something that is difficult with flex and bison.
flex++ and bison++ impressed me as being well-engineered when I first discovered them, and my opinion remains undimmed today. But releases ended in 1993 and flex++ and bison++ fell out of date as C++, gcc, flex,and bison all evolved. Soon I was making hasty, on-the-fly patches whenever a new version of gcc appeared (no pre-built packages are available for my Linux distribution).
So I loaded the 1993 releases into Subversion, updated them more carefully, and offer them here.
These updated "-45" versions build cleanly under gcc 4.5 (except for 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报