Spirit Parser Framework
The Spirit Parser Framework is an object oriented recursive descent parser generator framework implemented using template metaprogramming techniques.[src] Expression templates allow users to approximate the syntax of extended Backus–Naur form (EBNF) completely in C++.[src] Parser objects are composed through operator overloading and the result is a backtracking LL(∞) parser that is capable of parsing rather ambiguous grammars.[src] Spirit can be used for both lexing and parsing, together or separately.[src] This framework is part of the Boost libraries.[src]
The Spirit Parser Framework is an object oriented recursive descent parser generator framework implemented using template metaprogramming techniques.[src] Expression templates allow users to approximate the syntax of extended Backus–Naur form (EBNF) completely in C++.[src] Parser objects are composed through operator overloading and the result is a backtracking LL(∞) parser that is capable of parsing rather ambiguous grammars.[src] Spirit can be used for both lexing and parsing, together or separately.[src] This framework is part of the Boost libraries.[src] 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.[src] Dobb's Journal[src]
12 sentences · 12 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Spirit Parser Framework." encyclopegia.org, 2026, https://encyclopegia.org/wiki/spirit-parser-framework. Accessed 27 November 2026.
Chicago
"Spirit Parser Framework." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/spirit-parser-framework.
APA
encyclopegia.org. (2026). Spirit Parser Framework. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/spirit-parser-framework
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON