[<<][c][>>][..]
Mon Sep 29 11:44:38 CEST 2014

Boost spirit parser

spirit[2] Recursive Decent parser generator
Spirit V2 grammars are fully attributed (see Attribute Grammar)[3]
- Qi: parser generator eDSL
- Lex: lexer
- Karma: output generator

phoenix[1] Phoenix enables Functional Programming (FP) in C++
e.b. bind[4]

_val is another Phoenix placeholder representing the rule's synthesized attribute[6]

eps is a multi-purpose parser that returns a zero length match


[1] http://www.boost.org/doc/libs/1_56_0/libs/phoenix/doc/html/index.html
[2] http://www.boost.org/doc/libs/1_56_0/libs/spirit/doc/html/index.html
[3] http://en.wikipedia.org/wiki/Attribute_grammar
[4] http://www.boost.org/doc/libs/1_56_0/libs/bind/bind.html
[5] http://www.boost.org/doc/libs/1_56_0/libs/spirit/doc/html/spirit/qi/reference/parse_api/iterator_api.html
[6] http://www.boost.org/doc/libs/1_56_0/libs/spirit/doc/html/spirit/qi/tutorials/roman_numerals.html



[Reply][About]
[<<][c][>>][..]