| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> |
| <title>Spirit 2.4.1</title> |
| <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.75.0"> |
| <link rel="home" href="index.html" title="Spirit 2.4.1"> |
| <link rel="next" href="spirit/preface.html" title="Preface"> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <table cellpadding="2" width="100%"><tr> |
| <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> |
| <td align="center"><a href="../../../../index.html">Home</a></td> |
| <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> |
| <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> |
| <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> |
| <td align="center"><a href="../../../../more/index.htm">More</a></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"><a accesskey="n" href="spirit/preface.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div> |
| <div class="article"> |
| <div class="titlepage"> |
| <div> |
| <div><h2 class="title"> |
| <a name="spirit"></a>Spirit 2.4.1</h2></div> |
| <div><div class="authorgroup"> |
| <div class="author"><h3 class="author"> |
| <span class="firstname">Joel</span> <span class="surname">de Guzman</span> |
| </h3></div> |
| <div class="author"><h3 class="author"> |
| <span class="firstname">Hartmut</span> <span class="surname">Kaiser</span> |
| </h3></div> |
| </div></div> |
| <div><p class="copyright">Copyright © 2001-2010 Joel de Guzman, Hartmut Kaiser</p></div> |
| <div><div class="legalnotice"> |
| <a name="id779371"></a><p> |
| Distributed under the Boost Software License, Version 1.0. (See accompanying |
| file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) |
| </p> |
| </div></div> |
| </div> |
| <hr> |
| </div> |
| <div class="toc"> |
| <p><b>Table of Contents</b></p> |
| <dl> |
| <dt><span class="section"><a href="spirit/preface.html">Preface</a></span></dt> |
| <dt><span class="section"><a href="spirit/what_s_new.html">What's New</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/what_s_new/spirit_2_4_1.html">Spirit V2.4.1</a></span></dt> |
| <dt><span class="section"><a href="spirit/what_s_new/spirit_2_4.html">Spirit V2.4</a></span></dt> |
| <dt><span class="section"><a href="spirit/what_s_new/spirit_2_3.html">Spirit V2.3</a></span></dt> |
| <dt><span class="section"><a href="spirit/what_s_new/spirit_2_2.html">Spirit V2.2</a></span></dt> |
| <dt><span class="section"><a href="spirit/what_s_new/spirit_2_1.html">Spirit V2.1</a></span></dt> |
| <dt><span class="section"><a href="spirit/what_s_new/spirit_1_x.html">Spirit Classic</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/introduction.html">Introduction</a></span></dt> |
| <dt><span class="section"><a href="spirit/structure.html">Structure</a></span></dt> |
| <dd><dl><dt><span class="section"><a href="spirit/structure/include.html">Include</a></span></dt></dl></dd> |
| <dt><span class="section"><a href="spirit/abstracts.html">Abstracts</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/abstracts/syntax_diagram.html">Syntax Diagram</a></span></dt> |
| <dt><span class="section"><a href="spirit/abstracts/parsing_expression_grammar.html">Parsing |
| Expression Grammar</a></span></dt> |
| <dt><span class="section"><a href="spirit/abstracts/attributes.html">Attributes</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/abstracts/attributes/primitive_attributes.html">Attributes |
| of Primitive Components</a></span></dt> |
| <dt><span class="section"><a href="spirit/abstracts/attributes/compound_attributes.html">Attributes |
| of Compound Components</a></span></dt> |
| <dt><span class="section"><a href="spirit/abstracts/attributes/more_compound_attributes.html">More |
| About Attributes of Compound Components</a></span></dt> |
| <dt><span class="section"><a href="spirit/abstracts/attributes/nonterminal_attributes.html">Attributes |
| of Rules and Grammars</a></span></dt> |
| </dl></dd> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/qi.html">Qi - Writing Parsers</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/qi/tutorials.html">Tutorials</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/qi/tutorials/quick_start.html">Quick Start</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/warming_up.html">Warming up</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/semantic_actions.html">Semantic Actions</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/complex___our_first_complex_parser.html">Complex |
| - Our first complex parser</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/sum___adding_numbers.html">Sum - adding |
| numbers</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/number_list___stuffing_numbers_into_a_std__vector.html">Number |
| List - stuffing numbers into a std::vector</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/number_list_redux___list_syntax.html">Number |
| List Redux - list syntax</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/number_list_attribute___one_more__with_style.html">Number |
| List Attribute - one more, with style</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/roman_numerals.html">Roman Numerals</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/employee___parsing_into_structs.html">Employee |
| - Parsing into structs</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/mini_xml___asts_.html">Mini XML - ASTs!</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/tutorials/mini_xml___error_handling.html">Mini |
| XML - Error Handling</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/qi/quick_reference.html">Quick Reference</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/qi/quick_reference/common_notation.html">Common Notation</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/quick_reference/qi_parsers.html">Qi Parsers</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/quick_reference/compound_attribute_rules.html">Compound |
| Attribute Rules</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/quick_reference/non_terminals.html">Nonterminals</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/quick_reference/semantic_actions.html">Semantic |
| Actions</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/quick_reference/phoenix.html">Phoenix</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/qi/reference.html">Reference</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/qi/reference/parser_concepts.html">Parser Concepts</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/basics.html">Basics</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/parse_api.html">Parser API</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/action.html">Action</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/auto.html">Auto</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/auxiliary.html">Auxiliary</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/binary.html">Binary</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/char.html">Char</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/directive.html">Directive</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/nonterminal.html">Nonterminal</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/numeric.html">Numeric</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/operator.html">Operator</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/stream.html">Stream</a></span></dt> |
| <dt><span class="section"><a href="spirit/qi/reference/string.html">String</a></span></dt> |
| </dl></dd> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/karma.html">Karma - Writing Generators</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/karma/tutorials.html">Tutorials</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/karma/tutorials/quick_start.html">Quick Start</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/tutorials/warming_up.html">Warming up</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/tutorials/semantic_actions.html">Semantic Actions</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/tutorials/karma_complex.html">Complex - A first |
| more complex generator</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/tutorials/karma_easier_complex.html">Complex |
| - Made easier</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/tutorials/karma_adapted_complex.html">Complex |
| - Fully Integrated</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/tutorials/num_list.html">Number List - Printing |
| Numbers From a std::vector</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/tutorials/num_matrix.html">Matrix of Numbers |
| - Printing Numbers From a Matrix</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/karma/quick_reference.html">Quick Reference</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/karma/quick_reference/common_notation.html">Common |
| Notation</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/quick_reference/primitive_generators.html">Karma |
| Generators</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/quick_reference/compound_attribute_rules.html">Compound |
| Attribute Rules</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/quick_reference/non_terminals.html">Nonterminals</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/quick_reference/semantic_actions.html">Semantic |
| Actions</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/quick_reference/phoenix.html">Phoenix</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/karma/reference.html">Reference</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/karma/reference/generator_concepts.html">Generator |
| Concepts</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/karma_basics.html">Basics</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/generate_api.html">Generator API</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/action.html">Action</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/auto.html">Auto</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/auxiliary.html">Auxiliary</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/binary.html">Binary</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/char.html">Char</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/directive.html">Directive</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/nonterminal.html">Nonterminal</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/numeric.html">Numeric</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/operator.html">Operator</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/stream.html">Stream</a></span></dt> |
| <dt><span class="section"><a href="spirit/karma/reference/string.html">String</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/karma/performance_measurements.html">Performance Measurements</a></span></dt> |
| <dd><dl><dt><span class="section"><a href="spirit/karma/performance_measurements/numeric_performance.html">Performance |
| of Numeric Generators</a></span></dt></dl></dd> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/lex.html">Lex - Writing Lexical Analyzers</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/lex/lexer_introduction.html">Introduction to <span class="emphasis"><em>Spirit.Lex</em></span></a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/tutorials.html"><span class="emphasis"><em>Spirit.Lex</em></span> |
| Tutorials</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/lex/tutorials/lexer_tutorials.html"><span class="emphasis"><em>Spirit.Lex</em></span> |
| Tutorials Overview</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/tutorials/lexer_quickstart1.html">Quickstart |
| 1 - A word counter using <span class="emphasis"><em>Spirit.Lex</em></span></a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/tutorials/lexer_quickstart2.html">Quickstart |
| 2 - A better word counter using <span class="emphasis"><em>Spirit.Lex</em></span></a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/tutorials/lexer_quickstart3.html">Quickstart |
| 3 - Counting Words Using a Parser</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/lex/abstracts.html">Abstracts</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/lex/abstracts/lexer_primitives.html">Lexer Primitives</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/abstracts/lexer_tokenizing.html">Tokenizing Input |
| Data</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/abstracts/lexer_semantic_actions.html">Lexer |
| Semantic Actions</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/abstracts/lexer_static_model.html">The <span class="emphasis"><em>Static</em></span> |
| Lexer Model</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/lex/quick_reference.html">Quick Reference</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/lex/quick_reference/common_notation.html">Common |
| Notation</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/quick_reference/lexers.html">Primitive Lexer |
| Components</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/quick_reference/semantic_actions.html">Semantic |
| Actions</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/quick_reference/phoenix.html">Phoenix</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/quick_reference/lexer.html">Supported Regular |
| Expressions</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/lex/reference.html">Reference</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/lex/reference/lexer_concepts.html">Lexer Concepts</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/reference/lex_basics.html">Basics</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/reference/lexer_api.html">Lexer API</a></span></dt> |
| <dt><span class="section"><a href="spirit/lex/reference/primitives.html">Token definition Primitives</a></span></dt> |
| </dl></dd> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/advanced.html">Advanced</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/advanced/indepth.html">In Depth</a></span></dt> |
| <dd><dl><dt><span class="section"><a href="spirit/advanced/indepth/parsers_indepth.html">Parsers in |
| Depth</a></span></dt></dl></dd> |
| <dt><span class="section"><a href="spirit/advanced/customize.html">Customization of Spirit's |
| Attribute Handling</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/advanced/customize/is_container.html">Determine if |
| a Type Should be Treated as a Container (Qi and Karma)</a></span></dt> |
| <dt><span class="section"><a href="spirit/advanced/customize/transform.html">Transform an Attribute |
| to a Different Type (Qi and Karma)</a></span></dt> |
| <dt><span class="section"><a href="spirit/advanced/customize/assign_to.html">Store a Parsed |
| Attribute Value (Qi)</a></span></dt> |
| <dt><span class="section"><a href="spirit/advanced/customize/store_value.html">Store Parsed |
| Attribute Values into a Container (Qi)</a></span></dt> |
| <dt><span class="section"><a href="spirit/advanced/customize/clear_value.html">Re-Initialize |
| an Attribute Value before Parsing (Qi)</a></span></dt> |
| <dt><span class="section"><a href="spirit/advanced/customize/extract_from.html">Extract an |
| Attribute Value to Generate Output (Karma)</a></span></dt> |
| <dt><span class="section"><a href="spirit/advanced/customize/iterate.html">Extract Attribute |
| Values to Generate Output from a Container (Karma)</a></span></dt> |
| <dt><span class="section"><a href="spirit/advanced/customize/auto.html">Create Components from |
| Attributes</a></span></dt> |
| </dl></dd> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/support.html">Supporting libraries</a></span></dt> |
| <dd><dl><dt><span class="section"><a href="spirit/support/multi_pass.html">The multi pass iterator</a></span></dt></dl></dd> |
| <dt><span class="section"><a href="spirit/faq.html">Spirit FAQ</a></span></dt> |
| <dt><span class="section"><a href="spirit/notes.html">Notes</a></span></dt> |
| <dd><dl> |
| <dt><span class="section"><a href="spirit/notes/porting_from_spirit_1_8_x.html">Porting from |
| Spirit 1.8.x</a></span></dt> |
| <dt><span class="section"><a href="spirit/notes/style_guide.html">Style Guide</a></span></dt> |
| </dl></dd> |
| <dt><span class="section"><a href="spirit/repository.html">Spirit Repository</a></span></dt> |
| <dt><span class="section"><a href="spirit/acknowledgments.html">Acknowledgments</a></span></dt> |
| <dt><span class="section"><a href="spirit/references.html">References</a></span></dt> |
| </dl> |
| </div> |
| <p> |
| This is the documentation of the newest version of <a href="http://boost-spirit.com" target="_top">Spirit</a> |
| (currently, V2.4). If you're looking for the documentation of Spirit's previous |
| version (formerly Spirit V1.8), see <a href="../../../../libs/spirit/classic/index.html" target="_top"><span class="emphasis"><em>Spirit.Classic</em></span></a>. |
| </p> |
| </div> |
| <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> |
| <td align="left"><p><small>Last revised: November 01, 2010 at 12:27:09 GMT</small></p></td> |
| <td align="right"><div class="copyright-footer"></div></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"><a accesskey="n" href="spirit/preface.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div> |
| </body> |
| </html> |