2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-26 06:42:25 +00:00

1077 Commits

Author SHA1 Message Date
Zach Laine
c288298713 Remove dependencies on Boost.Optional, Boost.Algorithm, and
Boost.ThrowException.
2020-09-19 22:10:35 -05:00
Zach Laine
5bed6f9776 Make dependency on Boost.Preprocessor optional. 2020-09-19 21:37:45 -05:00
Zach Laine
675fcd2309 Make dependency on Boost.TypeIndex optional. 2020-09-19 21:12:24 -05:00
Zach Laine
113270d6f6 Remove dependency on Boost.Any. 2020-09-19 20:43:12 -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
fd502751e0 Remove GTest .md files that offend Github's pages build bot. 2020-09-10 01:37:35 -05:00
Zach Laine
b734f79f0e Update compiler support section. 2020-09-10 01:33:29 -05:00
Zach Laine
26195a84ce Drop XCode 9.4 from the Travis builds, since it does not have full C++17
support.
2020-09-10 01:25:28 -05:00
Zach Laine
8dc397f53a Fix broken CI badges. 2020-09-10 01:13:05 -05:00
Zach Laine
425011e9a3 Replace GTest 1.8 with GTest 1.10. 2020-09-10 01:11:26 -05:00
Zach Laine
1d302c3d14 Determine and use the correct subset of Boost submodules to clone when Boost
is not available.
2020-09-10 00:56:27 -05:00
Zach Laine
b88e33cc88 Fix narrowing conversion error. 2020-09-10 00:15:42 -05:00
Zach Laine
bd3e3bd42a Boost dependency CMake code from text. 2020-09-10 00:07:16 -05:00
Zach Laine
c3db92bdb1 Fix VC2017 compilation failures. 2020-09-10 00:02:29 -05:00
Zach Laine
d8a323a5fb Fix VC2019 test failures. 2020-09-09 23:42:04 -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
f83345e1fb Bring in GTest from text. 2020-09-09 22:59:53 -05:00
Zach Laine
b0964f039b Initial add of Travis and Appveyor config files. 2020-09-09 03:00:22 -05:00
Zach Laine
3ac30663b4 Add support for C++17. 2020-09-09 02:45:19 -05:00
Zach Laine
701566d6b0 Grooming. 2020-09-09 02:45:19 -05:00
Zach Laine
0f8eedbd7f Constrain iterator and/or sentinel template parameters in make_view(),
report_error(), and _report_warning().
2020-09-09 02:45:17 -05:00
Zach Laine
3fe8116714 Remove TODO. 2020-09-09 02:45:17 -05:00
Zach Laine
62149efddf Constrain view's iterator type to be a forward-iterator. 2020-09-09 02:45:17 -05:00
Zach Laine
3c8cc0275d Use C++17 by default in the CMake build. 2020-09-09 02:45:17 -05:00
Zach Laine
93f4ab246a Add an empty-input test that covers every parser.
Fixes #1.
2020-09-09 02:45:17 -05:00
Zach Laine
32ebd38270 Exercise the sentinel code path for every parser; fix errors.
Fixes #3.
2020-09-09 02:45:17 -05:00
Zach Laine
f23c864976 Fix detail::make_input_view()'s handling of pointers-as-ranges. 2020-09-09 02:45:17 -05:00
Zach Laine
19d441743a Fix the constraints on {callback_,}parse() when called with a pointer to a
null-terminated string.
2020-09-09 02:45:15 -05:00
Zach Laine
4e803101ca Enforce that skip_directive::oeprator()() takes a parser_interface, and add
comments in a couple of plaes to indicate to users why their code is
ill-formed.

Fixes #8 (to the greatest extent possible, which isn't much).
2020-09-09 02:45:10 -05:00
Zach Laine
e545504a81 Remove top-level index.html 2020-09-08 00:28:32 -05:00
Zach Laine
c19bafc7d9 Remove README.md files from GTest and Google Bench. 2020-09-08 00:22:51 -05:00
Zach Laine
0cbb776c8f Add README.md. 2020-09-08 00:18:58 -05:00
Zach Laine
10d0ec0846 First draft of Error Handling and Debugging. 2020-09-08 00:00:03 -05:00
Zach Laine
1b2ea46927 Revert "Make the Jamfile look a lot more like the ones in yap and stl_interfaces."
This reverts commit 454a84d3d3.

Turns out those changes do not work for standalone (out-of-Boost) docs.
2020-09-07 22:33:55 -05:00
Zach Laine
fb9c4736ff Regularize the features of {stream,callback}_error_handler by giving
stream_error_handler an optional second stream.
2020-09-07 22:27:40 -05:00
Zach Laine
dcbb0fd932 Don't even generate the name of parsers in the no-trace case. 2020-09-07 22:27:40 -05:00
Zach Laine
edf4b0ebff Fix broken line quoting in write_formatted_message(). 2020-09-07 22:27:40 -05:00
Zach Laine
ff856a20a3 First draft of Memory Allocation section. 2020-09-07 22:27:40 -05:00
Zach Laine
df0a9b5214 Correct top-level index.html for standalone docs use. 2020-09-07 20:50:56 -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
e24b0b05cb Add extended JSON callback parsing example. 2020-09-07 20:44:54 -05:00
Zach Laine
27fa5b853a Fix callback parsing in the case where the top-level rul is not a callback
parser, one or more but subrules are.
2020-09-07 20:44:54 -05:00
Zach Laine
48ceef1b5d Correct comment. 2020-09-07 20:44:54 -05:00
Zach Laine
3a7e501dba Ensure that rule.with() takes at least one argument. 2020-09-07 20:44:54 -05:00
Zach Laine
47a53489c8 Frist draft of Callback Parsing section. 2020-09-07 20:44:54 -05:00
Zach Laine
ea6a5da09d Collapse the two partial specializations of rule_parser into a single
definition.
2020-09-06 21:56:22 -05:00
Zach Laine
4decca1023 Cruft removal. 2020-09-06 21:40:58 -05:00
Zach Laine
f391c40898 Clarify comment. 2020-09-06 21:35:32 -05:00
Zach Laine
750fa90cad First draft of Unicode Support section. 2020-09-06 20:14:35 -05:00
Zach Laine
71dddaf844 Make an unconditional eps in a repeat parser an error.
Fixes #10.
2020-09-06 15:08:53 -05:00