jamboree / spirit

Boost.org spirit module

Home Page:http://boost.org/libs/spirit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spirit XXXperimental

               _     _   _      ___   ___ __ __
     ___ _ __ (_)_ _(_)_| |_    \  \ /  /  /  /
    / __| '_ \| | '/| |_   _|    \  V  /  /  /
    \__ \ |_) | | | | | | |_     /  .  \  \  \
    |___/ .__/|_|_| |_| \___|   /  / \  \  \  \
        |_|                     ---   --- -- -- 
          P a r s e r   F r a m e w o r k

This is an experimental branch of Spirit X3.

Cheat Sheet

Here's a list of improvement/features over the official x3-devel branch.

Core Features

Directives

  • Local variables support x3::locals<Ts...>(args...)[p]. See example.
  • x3::lexeme(lex)[p] support. See example.
  • All directives are lazy-args enabled.

Parsers

  • Full char-parser support (char-range, char-set, etc...). See example.
  • Numeric literal.
  • All parsers are lazy-args enabled.

Extensions

  • x3::seek(stepper)[p] support. See example.
  • x3::sink(attr)[p] support. See example.
  • x3::advance parser. See example.
  • x3::regex parser. See example.
  • x3::reference<P> adaptor.
  • x3::pos_iterator and x3::newl support. See example.

Support

If you have any problem, please open an issue on the issues page.

About

Boost.org spirit module

http://boost.org/libs/spirit


Languages

Language:C++ 99.9%Language:CSS 0.1%Language:Shell 0.0%