2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

121 Commits

Author SHA1 Message Date
Rene Rivera
b1947d9c3a Change all <source> references to <library>. 2024-07-20 21:25:51 -05:00
Rene Rivera
c714c24aa2 Add missing import-search for cconfig/predef checks. 2024-05-04 23:32:40 -05:00
Rene Rivera
c31939d691 Make the library modular usable. 2024-03-11 08:38:16 -05:00
Nikita Kniazev
8ba926425a X3.Examples: tuple: Do not run on unsupported compilers 2021-09-05 23:40:10 +03:00
Nikita Kniazev
f44479bcd3 Remove boost/config/warning_disable.hpp usage
It is better to manage warnings on our side to know what warnings we need to fix or suppress, and the only thing that header does is disabling deprecation warnings on MSVC and ICC which we would prefer to not show to users.
2021-08-24 03:14:12 +03:00
Nikita Kniazev
2db3fde0d0 X3: Remove forced iterator rollback in rule
Removes inconsistency when a parser part is factorized into a rule.

Fixes regression introduced in #670.
2021-06-03 16:46:12 +03:00
theidexisted
ac63f8e6b5 Remove unused using declaration 2021-04-01 21:12:27 +03:00
Nikita Kniazev
f3cff61408 X3 does not support exporting rules. Closes #517 2021-02-27 22:48:16 +03:00
ttan
d3ab9a709e added x3 example of wrapping multiple attributes using std::tuple 2019-06-18 14:54:03 +08:00
Nikita Kniazev
f38019094d Unpublish x3/support/utility/testing.hpp
By most part reverts a3d667002f. The header is
undertested, used only in that single example, and has extra dependencies.
2019-04-19 22:04:32 +03:00
Nikita Kniazev
8995e825d0 X3.Examples: rexpr_full: Additional compilation fixes 2019-02-09 17:55:17 +03:00
Nikita Kniazev
f64b28a13d X3.Examples: rexpr_full: Fixed path to test files 2019-02-09 17:55:17 +03:00
Nikita Kniazev
3338ebcdf9 X3.Examples: rexpr_full: Fixed compilation on windows
`filesystem::path::c_str()` on windows returns `wchar_t` while error_handler
file parameter is of `std::string` type.
2019-01-22 20:09:52 +03:00
Nikita Kniazev
d15a26eb13 X3.Examples: Context type has changed due to #239 2019-01-08 19:05:08 +03:00
Nikita Kniazev
4583a4b708 Boost.System is header only since 1.69 2018-12-30 17:06:19 +03:00
Nikita Kniazev
54ca101440 Removed unneeded lexical_cast usages 2018-12-27 20:54:49 +03:00
Nikita Kniazev
8a5eeb7dc1 X3.Tests: Missing calc4b in the Jamfile 2018-04-26 14:42:02 +03:00
Henri Menke
1e0e0f29ba Make calc4b actually compile 2018-04-25 18:03:06 +12:00
djowel
25e29006de Tutorial updates: more details on BOOST_SPIRIT_DEFINE, BOOST_SPIRIT_DECLARE and BOOST_SPIRIT_INSTANTIATE 2018-03-28 06:30:41 +08:00
djowel
54d0167bc8 error handling docs 2018-03-08 11:09:56 +08:00
djowel
130e6395d7 Annotation tutorial example docs 2018-03-08 11:09:56 +08:00
djowel
a9ce56c739 Annotations example 2018-02-23 06:50:38 +08:00
djowel
d98a785093 Merge branch 'Some-Tutorials' into develop 2018-02-21 10:50:07 +08:00
Nikita Kniazev
11a36a0ce2 Remove unused boost/foreach.hpp includes 2017-12-17 20:14:56 +03:00
Nikita Kniazev
d526cd1931 Use <c++-template-depth> feature 2017-12-15 01:12:06 +03:00
Nikita Kniazev
ed44948e62 X3.Examples: actions: Missing using x3::_attr 2017-11-07 21:16:21 +03:00
Nikita Kniazev
c134020c2a X3.Examples: Fix no template named 'with_context' error
`with_context` was removed in 361b12eeeb
but the examples had not been adjusted.
2017-10-30 00:55:31 +03:00
Joel de Guzman
6892080b91 fix. test files location. 2017-08-07 11:14:22 +08:00
Ahmed Charles
53f210976b Fix typo in test case. 2015-12-22 17:14:26 -08:00
Mario Lang
6846946823 X3: Make use of Fusion member type deduction to simplify examples. 2015-06-15 22:30:00 +02:00
Mario Lang
ecc69624af Forgot another use of BOOST_FOREACH. 2015-05-26 11:01:34 +02:00
Mario Lang
7f7f884fcf Use error_handler to report success && iter != end. 2015-05-21 01:56:44 +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
Mario Lang
c69b41d547 Fix some unused local typedefs in X3 examples. 2015-05-19 12:49:53 +02: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
Mario Lang
38b334b51d Kill duplicated code in annotation.hpp. 2015-05-18 02:01:46 +02:00
Ahmed Charles
ac70d6f65a Allow rule.hpp to be included independently. 2015-05-16 18:02: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
Ahmed Charles
e6eb41f09d Fix roman example for x3. 2015-05-16 13:11:30 -06: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