Zach Laine
052a593782
Merge branch 'master' into gh-pages
2024-01-01 15:37:26 -06:00
Zach Laine
24d18b4eaf
Remove the documentation section "An Odd Case", which was obviated by the
...
previous commit. Also remove the test cases that exercised that case.
2024-01-01 15:30:45 -06:00
Zach Laine
d34d4b7e6a
Remove the seq_parser C<T> >> C<T> -> C<T> collapsing rule. Add special logic
...
for recursive rules to make accumulating recursive parsers like
recursive_string_rule in the parser_rule test easier to write.
2024-01-01 15:29:45 -06:00
Zach Laine
dced620290
Remove mooted TODO.
2024-01-01 15:29:45 -06:00
Zach Laine
27cf4b73ad
Improve description of parse context.
2024-01-01 15:29:45 -06:00
Zach Laine
32b244aa3a
Clean up uses of tuple template names in variaous parts of the docs. This
...
mostly amounts to replacing uses of boost::hana::tuple with more general
boost::parser::tuple where appropriate.
2024-01-01 15:29:45 -06:00
Zach Laine
2ec66193e1
Document, using links, the existence and semantics of Parser's tuple and get.
2024-01-01 15:29:45 -06:00
Zach Laine
c25982f1d2
In the intro, be very specific about what the __has_include-triggered
...
differences are.
2024-01-01 15:29:45 -06:00
Zach Laine
2fd5248be5
Remove stray uses of ascii::space.
...
Partially addresses #34 .
2024-01-01 15:29:35 -06:00
Zach Laine
8a02f10aed
Update docs.
2023-12-30 21:05:58 -06:00
Zach Laine
14e17fa64a
Merge branch 'master' into gh-pages
2023-12-30 21:05:28 -06:00
Zach Laine
19f398907b
Remove references to Boost.Preprocessor.
...
Applies to #32 .
2023-12-30 21:04:31 -06:00
Zach Laine
e88d819122
Change the trivial_skipper example to use ws instead of ascii::space, and add
...
text to the tutorial to explain why this is a better choice.
Fixes #34 .
2023-12-30 17:22:55 -06:00
Zach Laine
b02e9e32a6
Add preprocessor code from Boost.Describe instead of conditionally using
...
Boost.Preprocessor. Thanks, Peter!
Fixes #32 .
2023-12-30 17:00:23 -06:00
Zach Laine
144ac9c2c1
Update docs.
2023-12-30 16:25:22 -06:00
Zach Laine
6639d17e6c
Merge branch 'master' into gh-pages
2023-12-30 16:24:40 -06:00
Zach Laine
38279949a4
Fix numerous doc typos. Guess I haven't run spellcheck in a while.
2023-12-30 16:24:08 -06:00
Zach Laine
f8fb63766e
Fix aggr_tuple_assignment test for MSVC.
2023-12-30 15:24:04 -06:00
Zach Laine
3fee66b562
Doc typo.
...
Fixes #38 .
2023-12-30 15:14:17 -06:00
sehe
b7d1d3dba5
Fix spelling of hexadecimal
...
The library and documentation misspells it (consistently, which is good
:)) as hexidecimal. That makes it hard for (new) users to find out by
searching documentation.
The fifteen spots fixed:
example/callback_json.cpp|47 col 15| "four hexidecimal digits";
example/callback_json.cpp|49 col 18| "\\uXXXX hexidecimal escape sequence";
example/callback_json.cpp|51 col 38| escape_double_seq = "\\uXXXX hexidecimal escape sequence";
example/json.cpp|57 col 28| // like "expected four hexidecimal digits here:", instead of "expected
example/json.cpp|65 col 15| "four hexidecimal digits";
example/json.cpp|67 col 18| "\\uXXXX hexidecimal escape sequence";
example/json.cpp|69 col 38| escape_double_seq = "\\uXXXX hexidecimal escape sequence";
example/json.cpp|158 col 18| // declare a hexidecimal parser that matches exactly 4.
doc/tutorial.qbk|981 col 18| [ Matches a hexidecimal unsigned integral value. ]
doc/tutorial.qbk|986 col 28| [ Matches exactly the hexidecimal unsigned integral value `_RES_np_(arg0)`. ]
doc/tutorial.qbk|1118 col 42| So, if you wanted to parse exactly eight hexidecimal digits in a row in order
doc/tutorial.qbk|2729 col 18| "\\uXXXX hexidecimal escape sequence";
doc/tutorial.qbk|2731 col 38| escape_double_seq = "\\uXXXX hexidecimal escape sequence";
doc/tutorial.qbk|2741 col 9| put a hexidecimal escape sequence there.
include/boost/parser/parser.hpp|5622 col 13| /** The hexidecimal unsigned integer parser. Produces an `unsigned int`
The one spot that was inconsistent (outside the gtest subtree):
include/boost/parser/tuple.hpp|66 col 36| // 0xDEADBEEF (hexadecimal)
2023-12-30 15:13:04 -06:00
Zach Laine
fcb435df99
Add test for the struct <-> tuple assignment machinery; fix errors.
...
Partially addresses #28 .
2023-12-30 04:12:05 -06:00
Zach Laine
95374a7878
Add initial sketch of struct -> tuple assignment machinery.
...
Partially addresses #28 .
2023-12-30 02:58:50 -06:00
Zach Laine
669af7fa69
Add initial sketch of tuple -> struct assignment machinery.
...
Partially addresses #28 .
2023-12-30 01:40:43 -06:00
Zach Laine
7afc5e5ac3
Remove needless inclusion of <coroutine>.
...
Fixes #37 .
2023-12-29 19:55:25 -06:00
Zach Laine
2030e41bc5
Doc typo.
...
Fixes #31 .
2023-12-29 14:50:57 -06:00
Zach Laine
6308a8b9b4
Update docs.
2023-12-29 14:06:19 -06:00
Zach Laine
0a3a043768
Merge branch 'master' into gh-pages
2023-12-29 14:05:36 -06:00
Zach Laine
868b5854c0
MSVC warning mitigation.
...
Fixes #29 .
2023-12-29 14:00:27 -06:00
Zach Laine
ed95f33ef6
Add explicit mention of BOOST_PARSER_DEFINE_RULE* to the tutorial page on
...
rules.
Partially addresses #27 .
2023-12-29 13:46:04 -06:00
Zach Laine
b218bd78d7
Print diagnostics to cerr by default instead of cout.
...
Fixes #30 .
2023-12-29 13:27:52 -06:00
Zach Laine
7cba6c36f5
Doc typo.
2023-12-29 13:27:28 -06:00
Zach Laine
98b8a4bb29
Update docs.
2023-12-23 13:48:22 -06:00
Zach Laine
46b4ae89a9
Merge branch 'master' into gh-pages
2023-12-23 13:47:57 -06:00
Zach Laine
88a965d9c5
Rename the {callback_,}parse() overloads that take an iterator/sentinel pair
...
to {callback,}prefix_parse().
Fixes #21 .
2023-12-23 04:05:54 -06:00
Zach Laine
cb74df5601
Add documentation for string_view directive.
2023-12-23 03:08:15 -06:00
Zach Laine
8e620ae21b
Add/correct existing documentation for null_sentinel_t.
2023-12-23 03:07:19 -06:00
Zach Laine
2416d0d966
Doc copy editing.
2023-12-23 03:06:28 -06:00
Zach Laine
fe23476eed
Get rid of phony Doxygen-only as_utf*, since they were not showing up in the
...
generated docs anyway, and let Doxygen see the real as_utf*s and utf*_views
instead.
2023-12-23 03:01:08 -06:00
Zach Laine
30d02167e1
Add an alias for boost::parser::detail::text::null_sentinel_t to
...
boost::parser, and add a Doxygen comment to document it.
2023-12-23 02:58:29 -06:00
Zach Laine
21cb1a2184
Half open ranges -> closed ranges in Doxygen comments in parser.hpp.
2023-12-23 02:57:19 -06:00
Zach Laine
3b8c74c990
Use boost::parser::as_utf32 instead of boost::parser::detail::text::as_utf32
...
in the examples.
2023-12-23 02:55:26 -06:00
Zach Laine
454beb1903
Update docs.
2023-12-21 18:22:55 -06:00
Zach Laine
8327b38c47
Merge branch 'master' into gh-pages
2023-12-21 18:21:53 -06:00
Zach Laine
d50b961199
Add a more explicit description of as_utfN.
2023-12-21 18:21:31 -06:00
Zach Laine
dfcc7ae20b
Doc typos.
2023-12-21 18:20:47 -06:00
Zach Laine
88a7b39dc2
Fix MSVC 2022 in C++20 mode.
2023-12-21 23:29:59 -06:00
Zach Laine
e9cd214ad2
Merge branch 'master' into gh-pages
2023-12-21 17:37:14 -06:00
Zach Laine
9c0e07812f
Fix the VS2022 build.
2023-12-17 14:15:17 -06:00
Zach Laine
1bbad0a871
Address TODOs about the need to document an unexpected aspect of how out-param
...
attributes are assigned.
2023-12-16 16:37:06 -06:00
Zach Laine
05bfffa5c0
Add a note to the runtime-debugging example that it is taken from an older version of the code.
2023-12-16 16:01:35 -06:00