Formal Review: The Spirit Parser Framework
The formal review for the Spirit Parser Framework begins today, and runs until the end of Sunday 20th October. Discussion should take place on the main boost developer list (boost@lists.boost.org), please state in your review whether you think the framework should be accepted into boost or not. The framework can be downloaded from: http://spirit.sourceforge.net/index.php?doc=download/v1_5.html Synopsis: ~~~~~~ Spirit is an object oriented recursive descent parser generator framework implemented using template meta-programming techniques. Expression templates allow us to approximate the syntax of Extended Backus Normal Form (EBNF) completely in C++. Parser objects are composed through operator overloading and the result is a backtracking LL(inf) parser that is capable of parsing rather ambiguous grammars. The Spirit framework enables a target grammar to be written exclusively in C++. Inline EBNF grammar specifications can mix freely with other C++ code and, thanks to the generative power of C++ templates, are immediately executable. In retrospect, conventional compiler-compilers or parser-generators have to perform an additional translation step from the source EBNF code to C or C++ code. Regards, John Maddock (Spirit review manager). http://ourworld.compuserve.com/homepages/john_maddock/index.htm
participants (1)
-
Beman Dawes