Commit Graph

4777 Commits

Author SHA1 Message Date
Joel de Guzman
f6cf4bcb40 Merge pull request #101 from mlang/x3/rexpr_full/no-eoi
Use error_handler to report success && iter != end.
2015-05-21 10:28:32 +08:00
Mario Lang
7f7f884fcf Use error_handler to report success && iter != end. 2015-05-21 01:56:44 +02:00
Joel de Guzman
4320dced98 Merge pull request #99 from mlang/x3/no-BOOST_FOREACH
X3: No need for BOOST_FOREACH.
2015-05-20 21:34:08 +08:00
Mario Lang
8bd4d7078d Add one space after 'for'. 2015-05-20 10:49:04 +02:00
Joel de Guzman
7ff6fa84d4 Merge pull request #100 from mlang/x3/test/sequence/no_case
X3: no_case *is* implemented.
2015-05-20 10:33:55 +08:00
Joel de Guzman
a0f889aee2 Merge pull request #98 from mlang/x3/examples/cleanup
Cleanup examples.
2015-05-20 10:32:17 +08:00
Mario Lang
705524b1e1 X3: no_case *is* implemented. 2015-05-20 00:07:34 +02:00
Mario Lang
c13b91ac67 X3: No need for BOOST_FOREACH. 2015-05-19 22:21:33 +02:00
Mario Lang
4e4aa40a82 Use rexpr_type. 2015-05-19 14:42:09 +02:00
Mario Lang
71eba444a7 No need to declare rexpr_class twice. 2015-05-19 14:41:14 +02:00
Mario Lang
4229b079cd Use '=' to assign rule names. 2015-05-19 14:39:35 +02:00
Mario Lang
9c0466fef2 Rules should be const, as advertised by docs. 2015-05-19 14:37:01 +02:00
Mario Lang
ce22f82d6a No need for *_id typedefs. 2015-05-19 14:33:41 +02:00
Joel de Guzman
5a82ab7e2f Merge pull request #97 from mlang/x3/local-typedefs
Fix some unused local typedefs in X3 examples.
2015-05-19 19:45:50 +08:00
Mario Lang
c69b41d547 Fix some unused local typedefs in X3 examples. 2015-05-19 12:49:53 +02:00
Joel de Guzman
fa9192d3b5 Merge pull request #96 from mlang/x3/generic_annotation
Make annotation.hpp generic and move to support/utility/annotate_on_success.hpp.
2015-05-19 04:27:48 +08:00
Mario Lang
033e52c039 Make annotation.hpp generic and move to support/utility/annotate_on_success.hpp.
Since X3 promotes x3::variant, we can actually make annotation.hpp
generic, avoiding copy-pastism in all the projects that make use of
basic error reporting.
2015-05-18 14:35:52 +02:00
Joel de Guzman
46e8bfffac Merge pull request #95 from mlang/annotation/dedup
Kill duplicated code in annotation.hpp.
2015-05-18 13:28:38 +08:00
Mario Lang
38b334b51d Kill duplicated code in annotation.hpp. 2015-05-18 02:01:46 +02:00
Joel de Guzman
d91a588a78 Bu fix: trac #11313 2015-05-17 20:17:51 +08:00
Joel de Guzman
bfbf05c518 Merge pull request #94 from mlang/x3/error_handler/utf_to_utf
Use utf_to_utf in x3::error_handler.
2015-05-17 18:40:37 +08:00
Mario Lang
7404981b05 Use utf_to_utf in x3::error_handler. 2015-05-17 10:08:08 +02:00
Joel de Guzman
1e65e9c603 Merge pull request #93 from ahmedcharles/rule
Allow rule.hpp to be included independently.
2015-05-17 08:32:18 +08:00
Ahmed Charles
ac70d6f65a Allow rule.hpp to be included independently. 2015-05-16 18:02:10 -06:00
Joel de Guzman
e63ac9e915 Merge pull request #92 from ahmedcharles/string_literal
Allow string/string_literal.hpp be able to be independently included.
2015-05-17 07:01:54 +08:00
Joel de Guzman
6aacabcd34 Merge pull request #91 from ahmedcharles/rexpr_fixes
Rexpr fixes
2015-05-17 07:01:21 +08:00
Ahmed Charles
0debda0972 Allow string/string_literal.hpp be able to be independently included. 2015-05-16 14:25:10 -06:00
Ahmed Charles
e2044f0bde Rearrange includes and add some missing includes. 2015-05-16 14:07:19 -06:00
Ahmed Charles
5b8c168f22 Remove unused namespace alias. 2015-05-16 14:07:18 -06:00
Ahmed Charles
a53f104eaa Remove unused struct fun::error_handler_tag. 2015-05-16 14:07:18 -06:00
Ahmed Charles
51cb406b62 Fix rexpr_full so it actually builds like the other examples. 2015-05-16 14:07:18 -06:00
Joel de Guzman
36f2aecc58 Merge pull request #90 from ahmedcharles/roman
Fix roman example for x3.
2015-05-17 03:28:35 +08:00
Ahmed Charles
e6eb41f09d Fix roman example for x3. 2015-05-16 13:11:30 -06:00
Joel de Guzman
44e0014499 doc updates 2015-05-16 23:59:40 +08:00
Joel de Guzman
20170960dc bug fix x3: where we try to push_back to an mpl::view. 2015-05-16 23:59:40 +08:00
Joel de Guzman
c60d93fff3 bug fix for x3 where container attribute is substitute for the container value type. happens with recursive data structures such as vector<v> where v is a variant that also contains vector<v>. 2015-05-16 23:59:40 +08:00
Joel de Guzman
cce02e9d07 Merge pull request #89 from ahmedcharles/jamroot_fix
Fix Jamfile with new example location.
2015-05-16 15:27:10 +08:00
Ahmed Charles
cd71ff6f9a Fix Jamfile with new example location. 2015-05-15 20:16:36 -06:00
Joel de Guzman
578091e779 - docs for rexpr tutorial
- minor bugfix (strings in lexeme)
2015-05-16 00:44:49 +08:00
Joel de Guzman
43d2b1b6e0 reoraganizing X3 documentation 2015-05-15 22:59:07 +08:00
Joel de Guzman
0e17b6d05d reorganizing files into cleaner directory structures 2015-05-15 04:14:07 +08:00
Joel de Guzman
4afcc094af more polishing 2015-05-14 21:47:03 +08:00
Joel de Guzman
a3d667002f Making testing a full-fledged X3 suppoty utility 2015-05-14 21:38:05 +08:00
Joel de Guzman
c45fdad1b2 Bug fix: rule IDs must have accessible on_error and on_sucess 2015-05-14 21:15:17 +08:00
Joel de Guzman
c0d05b990d some cleanup and polish 2015-05-14 15:14:02 +08:00
Joel de Guzman
761f9a588d rexpr_full with tests 2015-05-14 14:59:45 +08:00
Joel de Guzman
f152060988 working rexpr parser 2015-05-14 12:47:11 +08:00
Joel de Guzman
3627a46902 more test updates and cleanup 2015-05-14 07:40:18 +08:00
Joel de Guzman
0adee06b27 cleaning up the tests 2015-05-14 02:13:24 +08:00
Joel de Guzman
1f6f24733f cleaning up the x3 docs 2015-05-13 22:21:32 +08:00