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

19 Commits

Author SHA1 Message Date
ivanpanch
e3a3cc8bf2 Update rationale.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
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
Zach Laine
ab4d708c30 Set the out-param to Attr() on parse failure (for the overloads taking an
out-param), making alls to parse() consistent with calls to parsers. Parsers
clear the attribute on failure. Add a section to rationale on why this is the
right choice.

Fixes #78.
2024-01-28 01:17:17 -06:00
Zach Laine
62f47c73c8 Add section to rationale on why the attribute compatability rules are stricter than in Spirit.
Fixes #61.
2024-01-14 16:18:19 -06:00
Zach Laine
6fc7eefb67 Add a Rationale section on the special treatment of sequences of characters. 2024-01-14 02:45:05 -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
Zach Laine
176f9a71a7 Flesh out the Best Practices section. 2022-07-23 13:41:48 -05:00
Zach Laine
19fa0d31a3 Add a reference to the callback JSON example to the section on callback
parsing.
2020-09-07 20:44:54 -05:00
Zach Laine
84ab0327f9 Doc spell checking corrections. 2020-09-06 01:54:17 -05:00
Zach Laine
43f5ac1726 Doc tweak. 2020-09-06 01:12:51 -05:00
Zach Laine
2386c18441 Copy editing in rationale. 2020-09-05 16:30:57 -05:00
Zach Laine
6f4dec5f76 Implement missing portions of rationale marked TODO. 2020-09-05 13:46:59 -05:00
Zach Laine
1396b4023b Add section to Rationale about why attribute types are intended to be flexible. 2020-09-03 23:00:43 -05:00
Zach Laine
b4e06b5882 First draft of "Directives" section. 2020-09-02 01:13:47 -05:00
Zach Laine
1f6e62c6fb First draft of "The Parsers And Their Uses" section. 2020-09-01 22:03:01 -05:00
Zach Laine
470def65ab Sketch more of the outline of the tutorial, including most of the section on
attribute generation.
2020-08-30 21:05:13 -05:00
Zach Laine
1d90a9d621 Lots of doc updates:
- Add a rationale for parser::none.
- Add a section introducing essential terminology.
- Flesh out the semantic action example.
- Add a section describing the parse context and how it works.
- Remove numerous TODOs related to documentation addressed above.
2020-08-30 15:33:56 -05:00
Zach Laine
b06c80bfe2 Add skeleton of Boost docs. 2020-08-29 19:17:04 -05:00