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

15 Commits

Author SHA1 Message Date
Zach Laine
d88e47cf17 Fix deficiencies in the CMake build:
- Clone minimal Boost dependencies so that the minimal Boost.Test header is
  available.

- Add boostdep-generated CMake code to the top of the top-level
  CMakeLists.txt.

Fixes #127.
2024-03-24 22:29:10 -05:00
Zach Laine
ffdc3f967b Add docs for the new automatic subitutability of non-aggregate class types for
tuples.

Partially addresses #49.
2024-01-19 20:15:07 -06:00
Zach Laine
d59e0528b2 Consolidate documentation on eror handlers into the Error Handling and
Debugging section, and add an example of how to write your own error handler.

Fixes #43.
2024-01-15 02:28:50 -06:00
Zach Laine
d60d33e40b Finish implementing support for parsing into structs as if they were tuples.
This makes it possible to map from sequence parsers onto structs with no
semantic actions.  Also, add a doc section describing how parsing structs
works (including a couple of short example programs).

Fixes #45.
Partially addresses #28.
2024-01-03 23:24:37 -06:00
Zach Laine
fb47fdc0f1 Make the configury simpler:
- Remove BOOST_PARSER_STANDALONE, and make that the default.  The bits of
Boost that we might use are used automatically when they're available (as
discovered via __has_include).

- Remove the non-essential uses of Boost from the examples.
2023-12-02 02:05:53 -06:00
Zach Laine
8d976d31df Fix Clang build on Linux. 2020-09-20 18:32:24 -05:00
Zach Laine
e24b0b05cb Add extended JSON callback parsing example. 2020-09-07 20:44:54 -05:00
Zach Laine
faab941450 Add exended JSON parsing example. 2020-09-05 01:49:16 -05:00
Zach Laine
080b89f920 Add a short example using a rule before we get into the weeds. 2020-09-04 02:23:29 -05:00
Zach Laine
c37a9c65a8 Add a mutable symbol table example. 2020-08-30 18:07:43 -05:00
Zach Laine
b33992719c Add symbol parser example. 2020-08-30 18:06:50 -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
5fcca75797 Flesh out the trivial example, fix a problem with it, and add another example
just like it that uses a skipper.
2020-08-29 21:53:54 -05:00
Zach Laine
0b86c6771e Flesh out the hello world example accompanying text. 2020-08-29 21:09:50 -05:00
Zach Laine
1f317d5588 Add trivial parsing example. 2020-08-29 19:17:04 -05:00