2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-24 18:12:32 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
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
2416d0d966 Doc copy editing. 2023-12-23 03:06:28 -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
876056aa28 uint32_t -> char32_t in transcode_iterator. 2023-12-03 14:19:08 -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
61bd9fba5c Comment typo. 2023-12-02 02:03:28 -06:00
Zach Laine
1c0bd473f3 Fix really weird thinko in file_slurp() in JSON examples. 2022-04-08 19:07:59 -05:00
Zach Laine
4f3b106de9 Fix a failing static_assert in the non-callback JSON example, that was due to
sizeof(std::unique_ptr<T>) being 2*(sizeof(T*) on Clang!
2022-04-08 17:43:05 -05:00
Zach Laine
4d0a310809 Correct (sigh) UB in self_filling_symbol_table.cpp example. 2022-04-07 17:49:54 -05:00
Zach Laine
93a51860e3 Doc copy edits. 2022-04-07 00:10:38 -05:00
Zach Laine
8d976d31df Fix Clang build on Linux. 2020-09-20 18:32:24 -05:00
Zach Laine
71c697d23d Convert from Boost.Hana to Hana lite, part 2: introduce a template aliases for
constants like llong; provide a tuple accessor get(); use these throughout the
code.

Also, adapt the code in detail/hl.hpp to work with hana::tuple and std::tuple.
2020-09-20 16:05:52 -05:00
Zach Laine
c1205a419d Convert from Boost.Hana to Hana lite, part 1: introduce a template alias for
tuple, and use it throughout the code.
2020-09-20 14:07:49 -05:00
Zach Laine
969de5c23d Move all the text and stl_interface internal header code into
boost::parser::detail namespace.
2020-09-20 03:23:23 -05:00
Zach Laine
111efe1eb3 Fully internalize Boost.Text headers. 2020-09-20 03:23:23 -05:00
Zach Laine
1ed37641e9 Remove dependency on the Spirit headers, via extensive copy/pasta. 2020-09-19 19:55:52 -05:00
Zach Laine
435ac5adf4 Fix a handfull of compilation failures when building on MSVC. 2020-09-09 23:01:49 -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
0348ed2b69 First draft of section on rules. 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