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

5176 Commits

Author SHA1 Message Date
Otto C.
363e7fb054 remove redundant include 2026-01-16 08:51:55 +08:00
Nana Sakisaka
05e52bf7f3 Merge pull request #843 from sergiud/long-double-precision-format
Karma: fix broken `real_generator` output for `long double`
2025-12-21 06:48:42 +09:00
Sergiu Deitsch
b80d6489c5 Karma: fix broken real_generator output for long double
Eliminate Boost 1.90.0 regression introduced in e6fbdf615b.
2025-12-20 15:54:15 +01:00
Joel de Guzman
9bcd344fc1 Merge pull request #841 from joaquintides/joaquintidesfix/lexertl-iterator-concepts-compliance
Fix concept compliance for `lexertl` iterator
2025-11-30 08:56:13 +08:00
joaquintides
04b443b72c fixed compliance for boost::spirit::lex::lexertl::lexer::iterator_type 2025-11-29 15:30:06 +01:00
joaquintides
f786c31e1b added compliance test for boost::spirit::lex::lexertl::lexer::iterator_type 2025-11-29 15:18:53 +01:00
Joel de Guzman
5ca46986f1 Merge pull request #840 from joaquintides/fix/iterator-concepts-compliance
Fix iterator concept compliance
2025-11-29 09:14:37 +08:00
joaquintides
3fcc390a97 provided copy ctor to avoid deprecated-copy-with-user-provided-copy warning 2025-11-28 21:59:18 +01:00
joaquintides
bf81bffaec straightened arg of fixed assignment operators to avoid deprecated-copy-with-user-provided-copy warnings 2025-11-28 21:52:25 +01:00
joaquintides
7c53be7a1f fixed assignment operators 2025-11-28 21:46:37 +01:00
joaquintides
4104c49848 fixed iterator compliance 2025-11-28 21:23:44 +01:00
joaquintides
787d181dff run test/support on C++20 2025-11-28 21:18:50 +01:00
joaquintides
08f50cf32b launched CI 2025-11-28 20:39:17 +01:00
joaquintides
662b484c5e tested compliance by all (most?) iterators provided 2025-11-28 20:36:27 +01:00
Nana Sakisaka
cadecf42fa Merge pull request #836 from Xeverous/error-handler-fail
X3: rollback iterator when rule's handler returns fail
2025-10-06 20:36:43 +09:00
Xeverous
a6c0b0bb6a X3: rollback iterator when rule fails to parse
This commit adjusts work of commit 2db3fde.
It corrected error_handler which should not skip whitespaces but
introduced a regression where handlers returning fail were still
moving the iterator forward. This commit adds iterator rollback
and synchronizes rule's and guard's iterators behavior.
2025-10-06 11:55:52 +02:00
Nana Sakisaka
07c58b413d Revise the maintenance policy 2025-09-25 09:11:42 +09:00
Nana Sakisaka
9801755e20 Merge pull request #831 from saki7/revert-modernization
Revert modernization
2025-09-13 09:36:40 +09:00
Nana Sakisaka
6772cdde08 Add information about Spirit.X4 2025-09-13 09:16:27 +09:00
Nana Sakisaka
d88f114559 Revert "Define the concept of "parser" in X3 (#807)"
This reverts commit d21af8b48d.
2025-09-13 08:57:11 +09:00
Nana Sakisaka
ec681a2484 Revert "Merge pull request #808 from saki7/refine-ci-cpp23"
This reverts commit f66350f9dc, reversing
changes made to d21af8b48d.
2025-09-13 08:57:11 +09:00
Nana Sakisaka
421707fa61 Revert "Add CI badge"
This reverts commit 65208fb39d.
2025-09-13 08:57:10 +09:00
Nana Sakisaka
a0c9105839 Revert "Skip the "build" job for empty changes case"
This reverts commit af360dcb9b.
2025-09-13 08:57:09 +09:00
Nana Sakisaka
795d61688a Revert "Harmless commit to make sure CI is working on direct push"
This reverts commit 3ed39f1f23.
2025-09-13 08:57:08 +09:00
Nana Sakisaka
96b81d3e5a Revert "Fix typo in README"
This reverts commit 52c7e0497e.
2025-09-13 08:57:07 +09:00
Nana Sakisaka
63fabece48 Revert "Use concepts for attribute category overload resolution (#812)"
This reverts commit c64a9146fc.
2025-09-13 08:57:06 +09:00
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
569c52220e Revert "Modernize x3::action (#815)"
This reverts commit 3df9ca3788.
2025-09-13 08:57:05 +09:00
Nana Sakisaka
c41c9aec95 Revert "Modernize x3::confix (#819)"
This reverts commit b389b1ce56.
2025-09-13 08:57:04 +09:00
Nana Sakisaka
bc3138da91 Revert "Merge pull request #821 from saki7/modernize-lexeme"
This reverts commit b86852dd88, reversing
changes made to b389b1ce56.
2025-09-13 08:57:03 +09:00
Nana Sakisaka
26d6ec1a64 Revert "Merge pull request #822 from saki7/modernize-matches"
This reverts commit 495f936af2, reversing
changes made to b86852dd88.
2025-09-13 08:57:02 +09:00
Nana Sakisaka
5d52405c56 Revert "Merge pull request #824 from saki7/modernize-omit"
This reverts commit a80d412b0e, reversing
changes made to 495f936af2.
2025-09-13 08:57:01 +09:00
Nana Sakisaka
069d2a0162 Revert "Merge pull request #825 from saki7/modernize-raw"
This reverts commit b1111dc4af, reversing
changes made to a80d412b0e.
2025-09-13 08:57:00 +09:00
Nana Sakisaka
6218dcc51e Revert "Merge pull request #826 from saki7/modernize-repeat"
This reverts commit 1ef37da85d, reversing
changes made to b1111dc4af.
2025-09-13 08:56:59 +09:00
Nana Sakisaka
14dfeaffdc Revert "Merge pull request #817 from saki7/modernize-char-string"
This reverts commit b6acdc57d3, reversing
changes made to 1ef37da85d.
2025-09-13 08:56:57 +09:00
Nana Sakisaka
385a9c3f06 Revert "Merge pull request #820 from saki7/modernize-expect"
This reverts commit 70f968ef6c, reversing
changes made to b6acdc57d3.
2025-09-13 08:56:56 +09:00
Nana Sakisaka
ac6ed01642 Revert "Merge pull request #827 from saki7/modernize-skip"
This reverts commit 4cd604abf6, reversing
changes made to 70f968ef6c.
2025-09-13 08:56:54 +09:00
Nana Sakisaka
49753e2515 Revert "Modernize x3::with (#829)"
This reverts commit e1973fcb31.
2025-09-13 08:56:51 +09:00
Nana Sakisaka
e1973fcb31 Modernize x3::with (#829)
Use concepts in `x3::with`.

`x3::with` is now a CPO that inhibits ADL.

`x3::with_directive` now holds lvalue reference by reference, and rvalue by value.
This is necessary for preventing dangling reference. However, passing dangling
lvalue reference or destroying the value bound to the reference passed to
`x3::with` technically can't be detected and it is the user's responsibility to not
do such things.

Add `x3::with` test for all 4 value categories: `T`, `T const`, `T&`, `T const&`
2025-09-11 20:54:37 +09:00
Nana Sakisaka
4cd604abf6 Merge pull request #827 from saki7/modernize-skip
Modernize `x3::skip`

Use concepts in `x3::skip`.
Make `x3::skip` a CPO that inhibits ADL.
`x3::reskip[...]`: new API that has the same effect as `x3::skip[...]`.
`x3::skip[...]`: deprecated in favor of `x3::reskip[...]`.
2025-09-11 15:50:52 +09:00
Nana Sakisaka
33d11752b6 Modernize x3::skip 2025-09-10 19:03:51 +09:00
Nana Sakisaka
70f968ef6c Merge pull request #820 from saki7/modernize-expect
Use concepts in `x3::expect`. It is also a CPO that inhibits ADL.
2025-09-10 18:16:33 +09:00
Nana Sakisaka
f52dae0d2c Modernize x3::expect 2025-09-10 18:08:51 +09:00
Nana Sakisaka
b6acdc57d3 Merge pull request #817 from saki7/modernize-char-string
[X3] Modernize char/string/symbols, make X3 totally self-contained
2025-09-10 18:06:31 +09:00
Nana Sakisaka
1ef37da85d Merge pull request #826 from saki7/modernize-repeat
Use concepts in `x3::repeat`.
`x3::repeat` is now a CPO that inhibits ADL.
`x3::inf` is deprecated regarding overly generic name; use `x3::repeat_inf` instead.

`x3::repeat[p]` is deprecated since it has the exact same meaning as `*p`. It is
generally discouraged to provide multiple ways to achieve same the
functionality in modern C++ library design.
2025-09-10 11:50:50 +09:00
Nana Sakisaka
0fd058fdd7 Modernize x3::repeat 2025-09-10 11:37:35 +09:00
Nana Sakisaka
b1111dc4af Merge pull request #825 from saki7/modernize-raw
Use concepts in `x3::raw`. It is now a CPO that inhibits ADL.
2025-09-10 10:52:48 +09:00
Nana Sakisaka
b232c5abc0 Modernize x3::raw 2025-09-10 10:41:59 +09:00
Nana Sakisaka
a80d412b0e Merge pull request #824 from saki7/modernize-omit
Use concepts in `x3::omit`. It is now a CPO that inhibits ADL.
2025-09-10 10:25:22 +09:00
Nana Sakisaka
e758874031 Modernize x3::omit 2025-09-10 10:01:45 +09:00