Zach Laine
|
4b415e0856
|
Cruft removal.
|
2020-09-20 03:23:46 -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
|
f173196885
|
Fully internalize Boost.STLInterfacecs headers.
|
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
|
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
|
c3db92bdb1
|
Fix VC2017 compilation failures.
|
2020-09-10 00:02:29 -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
|
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
|
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
|
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
|
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
|
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
|
71dddaf844
|
Make an unconditional eps in a repeat parser an error.
Fixes #10.
|
2020-09-06 15:08:53 -05:00 |
|
Zach Laine
|
312c71c776
|
Cruft removal.
|
2020-09-06 14:48:01 -05:00 |
|
Zach Laine
|
322bb32b2b
|
Warning mitigation.
|
2020-09-06 14:44:49 -05:00 |
|
Zach Laine
|
af39bd8beb
|
ADL audit.
Fixes #12.
|
2020-09-06 02:58:23 -05:00 |
|
Zach Laine
|
0b6d631e85
|
Grooming.
|
2020-09-06 01:54:17 -05:00 |
|
Zach Laine
|
f843b6aeb2
|
foo<>::value -> foo_v
|
2020-09-06 01:54:17 -05:00 |
|
Zach Laine
|
3d23c9d1d7
|
Use newly-added detail::is_nope_v throughout the implementation.
|
2020-09-06 01:54:17 -05:00 |
|
Zach Laine
|
673fa56bc6
|
Remove hana::map as the implementation strategy for the parse context. Use a
plain ol' struct instead.
Fixes #13.
|
2020-09-06 01:54:17 -05:00 |
|
Zach Laine
|
68e2c6daf8
|
Change detail::callback_skip_parse_impl() not to turn off the use of
callbacks.
Fixes #6.
|
2020-09-05 17:18:17 -05:00 |
|
Zach Laine
|
f616d38642
|
Drop support for hna::map as a calblacks parameter to parse(), and change the
passing of tags to callbacks from hana::type<tag> to just tag.
Fixes #5.
|
2020-09-05 17:09:13 -05:00 |
|
Zach Laine
|
c6ae723be3
|
Move the UDLs to the end of parser.hpp.
|
2020-09-05 17:08:32 -05:00 |
|
Zach Laine
|
b23d2e5f6c
|
Add a definition of none ("struct none{};"), even when
BOOST_PARSER_NO_RUNTIME_ASSERTIONS is defined. Otherwise, even code that uses
none properly becomes ill-formed.
|
2020-09-05 13:45:03 -05:00 |
|
Zach Laine
|
2df1e72f20
|
Add additional overloads of parse() to fix overload resolution when using
{callback_,}rule as a skipper.
|
2020-09-05 01:49:16 -05:00 |
|
Zach Laine
|
71f316e243
|
Forward declare {callback_,}rule.
|
2020-09-05 01:49:16 -05:00 |
|
Zach Laine
|
24d3003352
|
Rework the tracing code quite a bit, to fill in gaps and correct misleading
output.
Fixes #11.
|
2020-09-03 22:46:02 -05:00 |
|
Zach Laine
|
93ad65ad1f
|
Add BOOST_PARSER_ASSERT(), and use it in place of several static_asserts.
Fixes #9.
|
2020-09-01 23:03:17 -05:00 |
|
Zach Laine
|
0a259038cf
|
Fix broken reordering of concepts.
|
2020-09-01 22:53:56 -05:00 |
|
Zach Laine
|
3101a42a75
|
Add repeat() to the parsers in "The Parsers And Their Uses", and fix several
errors elsewhere in the docs.
|
2020-09-01 22:41:44 -05:00 |
|
Zach Laine
|
6b449dff0e
|
Add concepts section to docs.
|
2020-09-01 22:17:33 -05:00 |
|
Zach Laine
|
442a17b5d6
|
Remove a rethought TODO.
|
2020-09-01 22:04:31 -05:00 |
|
Zach Laine
|
1f6e62c6fb
|
First draft of "The Parsers And Their Uses" section.
|
2020-09-01 22:03:01 -05:00 |
|