Thomas Bernard
642a70afb8
Revert unwanted changes
2014-05-07 17:00:16 +02:00
Thomas Bernard
a5e1c57350
Add repeat directive
2014-05-07 16:43:12 +02:00
Lee Clagett
bb6f924aeb
Flattened extensions directory.
2014-05-03 11:14:01 -04:00
Lee Clagett
70df6e398e
Ported v2 repository seek directive to x3 extensions
2014-05-02 23:58:48 -04:00
Joel de Guzman
a129355f3e
implemented raw directive
2014-05-02 10:53:16 +08:00
Joel de Guzman
f9e3f874cc
porting calc7 to x3
2014-05-02 08:58:53 +08:00
Joel de Guzman
7f111eb070
added with directive
2014-05-02 08:30:37 +08:00
Joel de Guzman
4fedf68181
Merge branch 'origin/x3-devel'
2014-04-23 07:28:10 +08:00
K-ballo
955fa54406
Added type-erased parser, tests and examples
2014-04-22 12:47:04 -03:00
Joel de Guzman
dc5d47814e
various sequence handling fixes
2014-04-20 11:07:23 +08:00
Joel de Guzman
26b0e9e1f0
action should be in core, not auxilary
2014-04-09 12:57:52 +08:00
Joel de Guzman
f88d50853c
use enum class for error_handler_result
2014-04-09 11:54:09 +08:00
Joel de Guzman
e24686ea6f
added on_sucess handler (complements on_error)
2014-04-09 11:40:02 +08:00
Joel de Guzman
c0c07026dc
Ported calc5 to X3 (Same as Calc4, this time, we'll incorporate debugging support, plus error handling and reporting).
2014-04-09 08:34:57 +08:00
Joel de Guzman
e1dffe91c3
impemented rule %= operator
2014-04-08 11:30:13 +08:00
Joel de Guzman
92dfab37fa
added offline error handling for rules
2014-04-07 15:26:12 +08:00
Joel de Guzman
16b894852a
added actions test
...
added _fail context for forcing a faiked parse
2014-04-02 17:38:03 +08:00
Joel de Guzman
ceb4e05483
semantic actions with attributes only (no context)
2014-04-02 02:34:32 +08:00
Joel de Guzman
4a7cdc23e0
nullary semantic actions allowed
2014-04-02 02:04:41 +08:00
Joel de Guzman
7b0d142492
semantic actions with context only (no attributes)
2014-04-02 01:52:19 +08:00
Joel de Guzman
99337861f8
+ Using -std=c++1y
...
+ Using polymorphic lambda on semantic actions
2014-04-01 18:54:33 +08:00
Joel de Guzman
df2e019830
Merge branch 'parse-into-fusion-map' of https://github.com/redbaron/spirit into redbaron-parse-into-fusion-map
...
Conflicts:
test/Jamfile
2014-04-01 10:50:51 +08:00
Joel de Guzman
f6b78c4464
Merge branch 'lit-leaks-attribute' of https://github.com/redbaron/spirit into redbaron-lit-leaks-attribute
...
Conflicts:
test/Jamfile
test/x3/sequence.cpp
2014-04-01 10:47:57 +08:00
Joel de Guzman
5e1c8a2dd8
Merge pull request #8 from redbaron/fix-one-element-seq
...
Fix one element seq
2014-04-01 10:25:52 +08:00
Joel de Guzman
be00816174
added jamfile
2014-04-01 08:10:03 +08:00
Maxim Ivanov
8ea47e5025
Fix for the case when fusion assoc seq is on either side of seq
2014-03-26 09:52:28 +00:00
Maxim Ivanov
dfed8f3dea
Added test for parsing to fusion map with keys parsed in alternative<>
2014-03-26 09:44:43 +00:00
Maxim Ivanov
bb16f871ae
Merge branch 'fix-one-element-seq' into parse-into-fusion-map
2014-03-25 10:14:57 +00:00
Maxim Ivanov
58e177beb7
Support parsing into fusion adapted structs
2014-03-25 10:14:46 +00:00
Maxim Ivanov
2f1659413b
Fix for sequences with only one element producing attr
...
If in a sequence only one element produces attribute, then make whole
sequence to produce that attribute,rather than wrapping it into
fusion::deque. Not doing so breaks alternative<> parser, when such
sequences are on left and right side of it, because it then generates
variant attribute over fusion:deque<> attributes, which is not
what it is supposed to do. Plus it breaks traits::move_to when both
source and destination are single element fusions sequences. Hence this
fix to put everything back to normal for this edge case.
2014-03-24 23:48:28 +00:00
Maxim Ivanov
3dc3960e67
Added test for fusion::map parsing
2014-03-20 11:25:22 +00:00
Maxim Ivanov
ba5b50f691
as x3::lit() is fixes no need to omit[] it anymore
2014-03-19 22:36:01 +00:00
Maxim Ivanov
4f97aa987c
stop x3::lit from updating passed container
2014-03-19 22:34:31 +00:00
Maxim Ivanov
c206e3d0ac
Added test for recently fixed sequence attribute consistency bug
2014-03-19 20:22:08 +00:00
Joel de Guzman
5767624292
preparing for migration to boost devel
2014-03-18 10:53:30 +08:00