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

805 Commits

Author SHA1 Message Date
Rene Rivera
32d0535ace Update build deps. 2024-08-08 23:15:28 -05:00
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
166e71ae36 conjure2: Add missing Phoenix include 2022-01-05 00:56:56 +03:00
Nikita Kniazev
51b509740b Examples: Add missing <iostream> includes 2022-01-05 00:56:56 +03:00
Nikita Kniazev
4ea7e3a7b7 Deprecate Phoenix transition headers
There is no purpose in these transition headers, Phoenix V2 was removed 8 years ago.
2021-09-28 22:24:57 +03:00
Nikita Kniazev
8ba926425a X3.Examples: tuple: Do not run on unsupported compilers 2021-09-05 23:40:10 +03:00
Nikita Kniazev
3b64a41889 V2.Examples: proto::deep_copy missing include 2021-09-05 23:33:55 +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
bbb020e221 Remove unused boost/mpl/print.hpp includes 2021-08-23 22:35:47 +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
Nikita Kniazev
9b3933d15d Narrow Boost.Range includes 2020-05-28 23:24:34 +03:00
Jan-Grimo Sobez
c2ae55bdb9 Small documentation improvements
Bring RealPolicies valid expressions section in line with example
Bring karma tutorial complex example code in line with discussion below
2020-04-30 02:31:15 +03:00
Nikita Kniazev
fb52246a00 Remove deprecated Boost.Bind global placeholders usage 2020-03-30 20:28:10 +03:00
Brian Wignall
5bdefe59a7 Fix typos 2019-12-27 21:49:15 -05: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
5c14304068 Qi.Examples: Remove a name clash in compiler tutorial [skip ci]
Needed to be able to build examples with multiple distinct toolsets
2019-02-27 17:23:03 +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
da91db5a9c The boost/detail/iterator.hpp header is obsolete
Both `iterator_traits` and `distance` in `boost::detail` namespace are just
aliases from `std` namespace.
2018-12-29 17:46:33 +03:00
Nikita Kniazev
54ca101440 Removed unneeded lexical_cast usages 2018-12-27 20:54:49 +03:00
Nikita Kniazev
e07ce69363 Removed unused lexical_cast includes 2018-12-27 19:36:51 +03:00
Nikita Kniazev
af4f22de40 Qi.Examples: min_xml: Parsing error message tweak 2018-11-22 15:40:23 +03:00
Nikita Kniazev
b08a6ddbc5 Qi.Examples: min_xml: Fixed past the end iterator increment 2018-11-22 15:39:48 +03:00
Nikita Kniazev
ce7be3a2f9 Qi.Examples: min_xml: Fixed inconsistency with docs
https://svn.boost.org/trac10/ticket/12860
2018-11-22 15:38:08 +03:00
Romain Geissler
5e10e84031 Prepare for C++20 and remove "throw()" usage. 2018-11-11 23:14:05 +00:00
Joel de Guzman
ade886de46 typo fix
[SVN r77225]
2018-09-30 02:08:06 +03:00
Nikita Kniazev
b3ae790e2b Use endian macros from Predef
The `boost/detail/endian.hpp` header is deprecated.
2018-09-15 18:19: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
Nikita Kniazev
8085c08547 Merge pull request #374 from Kojoley/ts_real_policies
ts_real_policies: Fixes and optimizations
2018-03-15 03:52:39 +03:00
Nikita Kniazev
02c3c30077 ts_real_policies: Parse directly into output parameter
There is no need to initialize accumulator with zero value before the first
call to `parse`, and to use a temporary.
2018-03-10 19:22:28 +03:00
Nikita Kniazev
dc9e23e9f5 ts_real_policies: Output parameter is of actual accumulator type 2018-03-10 19:12:28 +03:00
Nikita Kniazev
e472c0536f ts_real_policies: One iterator copy less optimization 2018-03-10 19:09:41 +03:00
Nikita Kniazev
1a72c27306 ts_real_policies: Fixed small numbers parsing
Numbers in range (-1000.0, 1000.0) has only one segment (no thousands delimiter),
and are parsed in `if` statement expression.
2018-03-10 19:06:11 +03: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
d3cc71002c Fixed redundant semicolons 2017-11-21 19:49:37 +03:00