2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-19 04:22:13 +00:00

215 Commits

Author SHA1 Message Date
Zach Laine
d873d7ea80 Provide failover empty symbol table tries for use inside of skippers, since
nothing prevents using a symbol_parser in a skipper, and the previous commit
introduced nullptr skipper data tables in some cases.

Related to #245
2025-10-13 18:43:08 -05:00
Zach Laine
086241cbd9 Correct a munged bit of doc text. 2025-10-12 21:04:26 -05:00
ivanpanch
e3a3cc8bf2 Update rationale.qbk 2025-10-12 21:00:47 -05:00
ivanpanch
f789199743 Update parser_reference.xml 2025-10-12 21:00:47 -05:00
ivanpanch
d5d080b9f2 Update tutorial.qbk 2025-10-12 21:00:47 -05:00
ivanpanch
03341ba32d Update tutorial.qbk 2025-10-12 21:00:47 -05:00
ivanpanch
7e69b27d7c Update tutorial.qbk 2025-10-12 21:00:47 -05:00
ivanpanch
17d76bc158 Update tutorial.qbk 2025-10-12 21:00:47 -05:00
ivanpanch
050b9ba800 Update tutorial.qbk 2025-10-12 21:00:47 -05:00
ivanpanch
125f12407b Update tables.qbk 2025-10-12 21:00:47 -05:00
Zach Laine
9a138a20f6 Correct the claim in the docs that if_(c)[p] has attribute type
optional<ATTR(p)>; it actually has attribute type ATTR(p).

Fixes #278.
2025-10-12 20:40:55 -05:00
Zach Laine
8ff46f394a Spelling corrections in tutorial.
Fixes #238.
2025-07-12 15:13:20 -05:00
Zach Laine
8c9ad7bdb3 Document why there are no Spirit-style charater class parsers (alnum, punct,
etc.) in the Rationale section of the docs.

Fixes #224.
2025-07-12 15:01:46 -05:00
Adem Budak
d8abe8f29e Fix some typos on documentation 2025-07-12 14:46:28 -05:00
Rene Rivera
ec7df8a0af Add support for modular build structure. 2025-05-06 01:54:32 -05:00
Zach Laine
927f35f115 Provide a way to specify radix, and min/max digits for {u,}int_parser, without
using the template parameters directly, since this also requires the user to
type parser_interface.

Fixes #220.
2025-04-12 19:59:46 -05:00
Zach Laine
a3ca1193b2 Add error reporting when encountering unexpected (left over) code points at
the end of an otherwise-successful parse, when doing non-prefix parsing.
2025-03-30 16:06:41 -05:00
Zach Laine
07153117ff Doc copy editing.
Fixes #217.
2025-03-30 16:06:02 -05:00
Zach Laine
78bc141d5f Add doc example of unexpected combining sequence parsers.
Example is based on #215.
2025-03-01 16:34:22 -06:00
necessarily-equal
b253d9ca53 Add unicode symbols parser (#213)
* Add symb parser to handle unicode symbols

* Add documentation for symb

* Add tests for symb

* Fix typo in the documentation

---------

Contributed by: Antoine Fontaine <antoinefontaine@posteo.net>
2025-02-20 23:51:17 -06:00
Zach Laine
74bc8fc1bb Add the delimiter(p)[] directive proper (missing from previous commit).
Fixes #162.
2024-12-20 20:01:16 -06:00
Zach Laine
42c9d82419 Add an optional char parser to quoted_string_parser, so that it can be made
fully general.

Fixes #196.
2024-12-17 00:17:54 -06:00
Zach Laine
958ac38256 Note for the user that they must be aware of nonobvious C++ operator
precedence impact of expression evaluation.

Fixes #205.
2024-12-16 22:33:55 -06:00
Zach Laine
f468d529fe Fix stale comment in doc example. 2024-11-29 16:29:20 -06:00
Zach Laine
b5d4339f2c Fix semicolon-delimited bullet list in parsers table. 2024-11-29 16:29:13 -06:00
Zach Laine
bb0fb885b8 Doc update for previous symbol table changes.
Related to #183.
2024-10-31 23:26:07 -05:00
Zach Laine
9b03f3c1f9 Remove " (Proposed)" from docs.
Fixes #199.
2024-10-03 20:06:47 -05:00
Zach Laine
f2aa039282 Document newly-added operations in the Mutable Symbol Tables page of the docs.
Documentation for #183.
2024-10-03 19:23:46 -05:00
Zach Laine
41fb3997ba Remove official support for VS 2019. 2024-10-03 17:56:00 -05:00
Zach Laine
23017af526 Remove support for direct use of null-terminated strings with the parser APIs.
Fixes #175.
Fixes #190.
2024-10-02 20:28:50 -05:00
Zach Laine
12de839618 Officially drop support for Clang 10. 2024-03-28 21:06:34 -05:00
Zach Laine
843867944b Add documentation of the new VS output trace/error_Handler feature.
Partially addresses #124.
2024-03-26 04:14:17 -05:00
Zach Laine
06c49a428e Small doc copy edit. 2024-03-24 22:48:24 -05:00
Zach Laine
d34cc345bb Add/update b2 build for docs and tests. 2024-03-24 22:29:10 -05:00
Zach Laine
317248843b BOOST_PARSER_DISABLE_HANA_TUPLE - > BOOST_PARSER_USE_HANA_TUPLE; disable Hana
by default.

Fixes #155.
2024-03-23 22:26:16 -05:00
Zach Laine
d5eba27273 Honor the use of BOOST_DISABLE_ASSERTS even when Boost.Assert is not available. 2024-03-23 22:26:16 -05:00
Zach Laine
744fd1bdc0 Add diagnostic text to symbols, like that for rules.
Fixes #164.
2024-03-20 03:18:09 -05:00
Zach Laine
24288a03a2 Add quoted_string, to automate probably the most commonly-written parser of
all time -- the quoted string.
2024-03-11 02:38:26 -05:00
Zach Laine
824a208133 Add a permutation parser.
Fixes #159.
2024-03-10 17:31:50 -05:00
Zach Laine
262c19e441 Explain how seq_parser combining logic interacts with directives.
Fixes #161.
2024-03-09 20:54:10 -06:00
Zach Laine
a19af1b5ce Expanded the text and examples, plus provided cross-references to more
extended examples, in The Parse Context.

Fixes #145.
2024-03-08 21:19:37 -06:00
Zach Laine
4c0377a5ae Explicitly state that null-terminated string pointers are accepted by
*parse(), in the list of properties common to all the overloads.
2024-03-08 21:19:37 -06:00
Zach Laine
f55d3779de Define BOOST_PARSER_USE_CONCEPTS to be 1 when running Doxygen. This gets
concepts constraints on template parameters to show up.  Also explicitly state
requirements in the Doxygen strings for anything that adds constraints via
requires clauses, since those do not show up in Doxygen.

Fixes #109.
2024-03-08 21:19:37 -06:00
Zach Laine
1e011a1fac Add transform(f)[p] attribute-transforming directive.
Fixes #153.
2024-03-08 21:19:37 -06:00
Zach Laine
a07efbbd72 Add note to Memory Allocations that the symbol tables are implemented using a
trie, and that those have lots of allocated nodes.
2024-03-08 21:19:37 -06:00
Zach Laine
5dc826c89d Explicitly state in the Semantic Actions page of the tutorial that attaching a
semantic action nullifies the attribute type.

Fixes #148.
2024-03-08 21:19:37 -06:00
Zach Laine
374cad3c35 Get specific about what RESOLVE() means, and link usage of it to the place
where it is defined.

Fixes #144.
2024-03-08 21:19:37 -06:00
Zach Laine
b7f6cd8dbf Add a section about when to use auto-generated attributes vs. using semantic
actions.

Fixes #110.
2024-03-08 21:19:36 -06:00
Zach Laine
aea0ff8dab Removed the very small example of how to use rules with a much longer one
based on a real section of YAML.

Fixes #104.
2024-03-08 21:19:36 -06:00
Zach Laine
4235706764 Move DoCallbacks NTTP for all the parsers' call() members to the context as a
simplification.
2024-03-08 21:19:36 -06:00