Spirit Parser Framework
The Spirit Parser Framework is an object oriented recursive descent parser generator framework implemented using template metaprogramming techniques. Expression templates allow users to approximate the syntax of extended Backus–Naur form (EBNF) completely in C++. Parser objects are composed through operator overloading and the result is a backtracking LL(∞) parser that is capable of parsing rather ambiguous grammars. Spirit can be used for both lexing and parsing, together or separately. This framework is part of the Boost libraries. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
The Spirit Parser Framework is an object oriented recursive descent parser generator framework implemented using template metaprogramming techniques. Expression templates allow users to approximate the syntax of extended Backus–Naur form (EBNF) completely in C++. Parser objects are composed through operator overloading and the result is a backtracking LL(∞) parser that is capable of parsing rather ambiguous grammars. Spirit can be used for both lexing and parsing, together or separately. This framework is part of the Boost libraries. include include include include int main() { namespace qi = boost::spirit::qi; std::string input; std::cout ==References== ==External links== Spirit parser framework github page Spirit parser framework Documentation in the Boost project Article on Spirit by designer Joel de Guzman in Dr. Dobb's Journal
Cite this
"Spirit Parser Framework". 1769384987. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1334855449 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy