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

694 Commits

Author SHA1 Message Date
Nana Sakisaka
e4d3fce09f Revert "Merge pull request #813 from saki7/modernize-rule-parser"
This reverts commit bae393d159, reversing
changes made to c64a9146fc.
2025-09-13 08:57:05 +09:00
Nana Sakisaka
2c0ec263f5 doc: Reflect the correct signature of error handlers 2025-09-07 07:37:39 +09:00
Ta'am
328d940c37 Document warning for incorrect floating-point values on Qi/Karma (#693)
* Qi double parser IEEE 754 compliance warning

* Document warning for incorrect floating-point values on Qi/Karma

---------

Co-authored-by: Nana Sakisaka <1901813+saki7@users.noreply.github.com>
2025-05-09 20:36:12 +09:00
Robert Adam
ba53544ac9 Update syntax examples to parser operator docs (#770)
Fixes #769

Co-authored-by: Nana Sakisaka <1901813+saki7@users.noreply.github.com>
2025-05-09 16:45:49 +09:00
Adem Budak
b59f934da6 Fix typo: 'implementation' (#791)
Co-authored-by: Nana Sakisaka <1901813+saki7@users.noreply.github.com>
2025-05-09 16:44:51 +09:00
Georg Gast
e7f3c2699c Fix 2 Typos: instantiating and Remember 2024-08-28 10:41:42 +02:00
Nana Sakisaka
cf643c13c0 Add documentation for non-throwing expectations 2024-08-12 23:14:19 +09:00
Andrey Semashev
66145232eb Switch to boost::core::invoke_swap.
boost::swap is deprecated and will be removed. Use boost::core::invoke_swap
as a replacement, where needed.

Removed "using boost::swap" in common.hpp, since this is not the intended usage
of Boost.Swap, and doing so did not add anything to the existing code (which
already did "using std::swap").

Corrected documentation re. compatibility with boost::swap/
boost::core::invoke_swap. It does not (and never did) use member swap()
functions, but simply forwards to either std::swap or the user-defined free
function overload (which, in turn, may forward to the member swap()).
2023-09-02 20:33:56 +03:00
Yang Lin
ba5026b191 Fix roman example lambda error
error: non-local lambda expression cannot have a capture-default
2023-06-10 17:07:58 +03:00
Nikita Kniazev
7b7a09db8c X3: Return back iterator pre-skipping for on_success handler
Reverts the wrong part of #686.
2022-01-21 02:28:58 +03:00
Nikita Kniazev
9168be80dd X3: Warn about future C++17 requirement
I plan to keep the warning for two releases before starting to utilize C++17 features.

Since Boost 1.81 (scheduled to November 2022) supported compilers will be:
* Clang 4 (currently 3.6)
* GCC 7 (currently 5)
* VS 2017 (currently 2015)
2022-01-06 20:47:44 +03:00
Nikita Kniazev
f0799e4e49 Changelog for Boost 1.78 release 2021-11-29 19:07:31 +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
3102c63c25 X3.Docs: Add missed changelog entry 2021-09-03 23:35:03 +03:00
Nikita Kniazev
8543f074ae Changelog for Boost 1.77 release 2021-08-04 20:25:46 +03:00
Nikita Kniazev
56b4a5b99c X3.Docs: Fix typo (wrong tag)
Closes #667
2021-04-21 17:27:10 +03:00
Nikita Kniazev
880080ee8b 1.76 changelog 2021-03-20 18:08:14 +03:00
Nikita Kniazev
841eeb2d96 X3.Docs: Remove parse_rule implementation details
It is hard to not forget to keep in sync these while anyone interested could simply go to the macro definition, moreover users should not rely on the implementation details and telling this info may make it seem like `parse_rule` is a public API.
2021-03-07 20:34:55 +03:00
Nikita Kniazev
a1ace8d8eb 1.74 changelog 2020-07-23 02:11:11 +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
cda6e33e09 Changelog for 1.73 2020-04-22 03:30:19 +03:00
Brian Wignall
5bdefe59a7 Fix typos 2019-12-27 21:49:15 -05:00
Nikita Kniazev
9de1409587 Changelog update. Closes #555 2019-12-06 01:23:08 +03:00
ttan
d3ab9a709e added x3 example of wrapping multiple attributes using std::tuple 2019-06-18 14:54:03 +08:00
djowel
3d6cdcd748 small type fix 2019-04-25 11:22:15 +08:00
Tinko Bartels
5e0f753bb9 Replace a couple of dead links. 2019-04-22 23:27:49 +02:00
Nikita Kniazev
c2166b5d04 X3.Docs: Minor markup tweaks [skip ci] 2019-04-20 23:02:51 +03:00
Nikita Kniazev
8e385e9d85 Lex: Removed variadic tokenize_and_phrase_parse
They were added 10 years ago and did not compile all the time due to bugs
spotted during warning elimination work, but the main reason to remove them
is that there was not a single report about the issues.
2019-04-19 02:53:23 +03:00
Nikita Kniazev
1f81edb4fc Bump version and update changelog [skip ci] 2019-03-29 04:31:18 +03:00
Nikita Kniazev
f7430abb48 Convert ticket reference to links in changelog 2019-03-28 22:33:59 +03:00
Nikita Kniazev
eea593da4e X3.Docs: Fixed parse_rule instantiation
Missed an edit in d4c0179f
2019-03-06 17:54:10 +03:00
Nikita Kniazev
f6297dc92f Fixed another unescaped Jamfile warnings 2019-03-03 03:30:56 +03:00
djowel
981843da24 Merge branch 'more_x3_tutorial_updates' into develop 2019-02-14 11:07:20 +08:00
djowel
12a576967a fix duplicate text 2019-02-14 11:06:42 +08:00
Nikita Kniazev
0810e33c69 Remove broken 1.0#INF parser
It was poorly documented and never worked correctly. None of atof, strtof, and
input streams are accepting such values. Fixing it would be a bigger breaking
change than removing it.

Fixes #415, addresses #163 and https://svn.boost.org/trac10/ticket/8699
2019-02-10 02:43:40 +03:00
Nikita Kniazev
147f429673 Karma.Docs: Fixed link to and predicate [skip ci]
Fixes https://svn.boost.org/trac10/ticket/10266
2019-02-09 19:36:59 +03:00
Nikita Kniazev
d4c0179fa6 X3: parse_rule attribute must always be of rule::attribute_type&
After #456 `parse_rule` is always called with value of `rule::attribute_type&`
type. By removing attribute type deduction we also will turn any possible bug
in `transform_attribute` from a linkage to compile error.

Fixes #454
2019-02-09 14:57:53 +03:00
Nikita Kniazev
d15a26eb13 X3.Examples: Context type has changed due to #239 2019-01-08 19:05:08 +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
f74e895d4f Doc: Fixed unescaped semicolon warning
Jamfile:53: Unescaped special character in argument <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/spirit/doc/html
2018-12-18 21:09:04 +00:00
Nikita Kniazev
b46ef58159 Doc.Qi: Fixed broken link to no_skip 2018-12-18 20:49:25 +00:00
Nikita Kniazev
b4f5833cc6 Forgot to update version numbers [skip ci] 2018-11-16 17:04:14 +03:00
Nikita Kniazev
ff6a8e4e13 [1.69] Version bump and changelog update [skip ci] 2018-11-08 18:06:37 +03:00
Godmar Back
9774844992 improve documentation for semantic actions in %=
Also see https://github.com/boostorg/spirit/issues/411
2018-10-26 09:21:14 -04:00
Nikita Kniazev
558fa43c5e Doc: Fixed changed url for ForwardIterator and OutputIterator 2018-09-29 22:41:12 +03:00
Nikita Kniazev
80ac3212a3 DOC: Forget to close section 2018-07-02 01:12:37 +03:00
Nikita Kniazev
2d1b8eb95d Bump version and update changelog [skip ci] 2018-07-01 19:32:50 +03:00
djowel
08af6da9c4 small typo fix 2018-03-28 06:35:34 +08: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
11fa827b9b minor updates 2018-03-27 15:56:51 +08:00