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
- Facade-based parser/directive API
- Literal extension API
extension::literal<T>
. See example. - Phoenix actor support
BOOST_SPIRIT_USE_ACTORS(...)
. - Rule params support.
- Scalability improvement.
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
andx3::newl
support. See example.
Support
If you have any problem, please open an issue on the issues page.