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

Commit Graph

  • fd502751e0 Remove GTest .md files that offend Github's pages build bot. Zach Laine 2020-09-10 01:37:35 -05:00
  • f28c4fc0b4 Update docs. Zach Laine 2020-09-10 01:34:47 -05:00
  • ae2eeb10ff Merge branch 'master' into gh-pages Zach Laine 2020-09-10 01:33:53 -05:00
  • b734f79f0e Update compiler support section. Zach Laine 2020-09-10 01:33:29 -05:00
  • 26195a84ce Drop XCode 9.4 from the Travis builds, since it does not have full C++17 support. Zach Laine 2020-09-10 01:25:23 -05:00
  • 8dc397f53a Fix broken CI badges. Zach Laine 2020-09-10 01:13:05 -05:00
  • 425011e9a3 Replace GTest 1.8 with GTest 1.10. Zach Laine 2020-09-10 01:05:25 -05:00
  • 1d302c3d14 Determine and use the correct subset of Boost submodules to clone when Boost is not available. Zach Laine 2020-09-10 00:56:23 -05:00
  • b88e33cc88 Fix narrowing conversion error. Zach Laine 2020-09-10 00:15:42 -05:00
  • bd3e3bd42a Boost dependency CMake code from text. Zach Laine 2020-09-10 00:07:16 -05:00
  • c3db92bdb1 Fix VC2017 compilation failures. Zach Laine 2020-09-10 00:02:29 -05:00
  • d8a323a5fb Fix VC2019 test failures. Zach Laine 2020-09-09 23:42:04 -05:00
  • 435ac5adf4 Fix a handfull of compilation failures when building on MSVC. Zach Laine 2020-09-09 23:01:49 -05:00
  • f83345e1fb Bring in GTest from text. Zach Laine 2020-09-09 22:59:53 -05:00
  • b0964f039b Initial add of Travis and Appveyor config files. Zach Laine 2020-09-09 02:50:52 -05:00
  • 3ac30663b4 Add support for C++17. Zach Laine 2020-09-09 02:32:50 -05:00
  • 701566d6b0 Grooming. Zach Laine 2020-09-08 21:34:12 -05:00
  • 0f8eedbd7f Constrain iterator and/or sentinel template parameters in make_view(), report_error(), and _report_warning(). Zach Laine 2020-09-08 21:27:56 -05:00
  • 3fe8116714 Remove TODO. Zach Laine 2020-09-08 21:20:05 -05:00
  • 62149efddf Constrain view's iterator type to be a forward-iterator. Zach Laine 2020-09-08 21:19:35 -05:00
  • 3c8cc0275d Use C++17 by default in the CMake build. Zach Laine 2020-09-08 21:09:13 -05:00
  • 93f4ab246a Add an empty-input test that covers every parser. Zach Laine 2020-09-08 20:37:11 -05:00
  • 32ebd38270 Exercise the sentinel code path for every parser; fix errors. Zach Laine 2020-09-08 17:36:42 -05:00
  • f23c864976 Fix detail::make_input_view()'s handling of pointers-as-ranges. Zach Laine 2020-09-08 02:17:47 -05:00
  • 19d441743a Fix the constraints on {callback_,}parse() when called with a pointer to a null-terminated string. Zach Laine 2020-09-08 01:52:25 -05:00
  • 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. Zach Laine 2020-09-08 01:11:12 -05:00
  • 6be9c6d4b0 Add top-level index.html Zach Laine 2020-09-08 00:29:29 -05:00
  • 891356117a Merge branch 'master' into gh-pages Zach Laine 2020-09-08 00:28:43 -05:00
  • e545504a81 Remove top-level index.html Zach Laine 2020-09-08 00:28:32 -05:00
  • 053a0f5d91 Merge branch 'master' into gh-pages Zach Laine 2020-09-08 00:23:11 -05:00
  • c19bafc7d9 Remove README.md files from GTest and Google Bench. Zach Laine 2020-09-08 00:22:51 -05:00
  • 0cbb776c8f Add README.md. Zach Laine 2020-09-08 00:18:58 -05:00
  • 046f594a32 Update docs. Zach Laine 2020-09-08 00:05:53 -05:00
  • 10d0ec0846 First draft of Error Handling and Debugging. Zach Laine 2020-09-08 00:00:03 -05:00
  • 1b2ea46927 Revert "Make the Jamfile look a lot more like the ones in yap and stl_interfaces." Zach Laine 2020-09-07 22:33:23 -05:00
  • fb9c4736ff Regularize the features of {stream,callback}_error_handler by giving stream_error_handler an optional second stream. Zach Laine 2020-09-07 22:22:08 -05:00
  • dcbb0fd932 Don't even generate the name of parsers in the no-trace case. Zach Laine 2020-09-07 22:20:22 -05:00
  • edf4b0ebff Fix broken line quoting in write_formatted_message(). Zach Laine 2020-09-07 22:18:27 -05:00
  • ff856a20a3 First draft of Memory Allocation section. Zach Laine 2020-09-07 22:13:19 -05:00
  • df0a9b5214 Correct top-level index.html for standalone docs use. Zach Laine 2020-09-07 20:50:56 -05:00
  • 19fa0d31a3 Add a reference to the callback JSON example to the section on callback parsing. Zach Laine 2020-09-07 20:27:02 -05:00
  • e24b0b05cb Add extended JSON callback parsing example. Zach Laine 2020-09-07 18:06:38 -05:00
  • 27fa5b853a Fix callback parsing in the case where the top-level rul is not a callback parser, one or more but subrules are. Zach Laine 2020-09-07 16:56:16 -05:00
  • 48ceef1b5d Correct comment. Zach Laine 2020-09-07 16:46:10 -05:00
  • 3a7e501dba Ensure that rule.with() takes at least one argument. Zach Laine 2020-09-07 14:22:21 -05:00
  • 47a53489c8 Frist draft of Callback Parsing section. Zach Laine 2020-09-06 22:17:41 -05:00
  • ea6a5da09d Collapse the two partial specializations of rule_parser into a single definition. Zach Laine 2020-09-06 21:56:01 -05:00
  • 4decca1023 Cruft removal. Zach Laine 2020-09-06 21:40:58 -05:00
  • f391c40898 Clarify comment. Zach Laine 2020-09-06 21:35:32 -05:00
  • 750fa90cad First draft of Unicode Support section. Zach Laine 2020-09-06 20:14:35 -05:00
  • 71dddaf844 Make an unconditional eps in a repeat parser an error. Zach Laine 2020-09-06 15:08:53 -05:00
  • 312c71c776 Cruft removal. Zach Laine 2020-09-06 14:48:01 -05:00
  • 322bb32b2b Warning mitigation. Zach Laine 2020-09-06 14:39:22 -05:00
  • af39bd8beb ADL audit. Zach Laine 2020-09-06 02:13:46 -05:00
  • 84ab0327f9 Doc spell checking corrections. Zach Laine 2020-09-06 01:49:07 -05:00
  • 0b6d631e85 Grooming. Zach Laine 2020-09-06 01:32:33 -05:00
  • f843b6aeb2 foo<>::value -> foo_v Zach Laine 2020-09-06 01:29:21 -05:00
  • 3d23c9d1d7 Use newly-added detail::is_nope_v throughout the implementation. Zach Laine 2020-09-06 01:24:03 -05:00
  • 673fa56bc6 Remove hana::map as the implementation strategy for the parse context. Use a plain ol' struct instead. Zach Laine 2020-09-06 01:14:32 -05:00
  • 43f5ac1726 Doc tweak. Zach Laine 2020-09-06 01:12:51 -05:00
  • 68e2c6daf8 Change detail::callback_skip_parse_impl() not to turn off the use of callbacks. Zach Laine 2020-09-05 17:18:17 -05:00
  • 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. Zach Laine 2020-09-05 17:09:13 -05:00
  • c6ae723be3 Move the UDLs to the end of parser.hpp. Zach Laine 2020-09-05 17:08:32 -05:00
  • 2386c18441 Copy editing in rationale. Zach Laine 2020-09-05 16:30:57 -05:00
  • 6f4dec5f76 Implement missing portions of rationale marked TODO. Zach Laine 2020-09-05 13:46:59 -05:00
  • 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. Zach Laine 2020-09-05 13:45:03 -05:00
  • faab941450 Add exended JSON parsing example. Zach Laine 2020-09-05 00:42:03 -05:00
  • 2df1e72f20 Add additional overloads of parse() to fix overload resolution when using {callback_,}rule as a skipper. Zach Laine 2020-09-05 00:40:58 -05:00
  • 71f316e243 Forward declare {callback_,}rule. Zach Laine 2020-09-05 00:40:05 -05:00
  • 0348ed2b69 First draft of section on rules. Zach Laine 2020-09-04 16:59:06 -05:00
  • 447a2fb1c2 Document how with_{globals,error_handler}() work in The parse() API. Zach Laine 2020-09-04 03:00:02 -05:00
  • aad66c39f2 Explain how to define parsers from {u,}int_parser directly. Zach Laine 2020-09-04 02:40:21 -05:00
  • 080b89f920 Add a short example using a rule before we get into the weeds. Zach Laine 2020-09-04 02:23:29 -05:00
  • 1a17be97c6 Doc copy editing. Zach Laine 2020-09-03 23:27:58 -05:00
  • 454a84d3d3 Make the Jamfile look a lot more like the ones in yap and stl_interfaces. Zach Laine 2020-09-03 23:01:23 -05:00
  • 1396b4023b Add section to Rationale about why attribute types are intended to be flexible. Zach Laine 2020-09-03 23:00:43 -05:00
  • 35113f30ad Add TODOs. Zach Laine 2020-09-03 23:00:16 -05:00
  • 24d3003352 Rework the tracing code quite a bit, to fill in gaps and correct misleading output. Zach Laine 2020-09-03 22:46:02 -05:00
  • c8a0bab822 First draft of "The parse() API" section. Zach Laine 2020-09-03 00:56:59 -05:00
  • 85ba0efada Sketch in much of the Combining Operations section. Zach Laine 2020-09-02 02:34:56 -05:00
  • 6e9009a40c Add {sequence,alternative} parser to Terminology. Zach Laine 2020-09-02 01:32:08 -05:00
  • bfc94c8019 Doc copy editing. Zach Laine 2020-09-02 01:20:23 -05:00
  • b4e06b5882 First draft of "Directives" section. Zach Laine 2020-09-02 01:13:47 -05:00
  • 43a787922b Sketch in part of Rules section about _p, so it doesn't get forgotten. Zach Laine 2020-09-01 23:43:54 -05:00
  • 793728fad1 Add missing callable parser overloads to the big ol' table. Zach Laine 2020-09-01 23:43:20 -05:00
  • 93ad65ad1f Add BOOST_PARSER_ASSERT(), and use it in place of several static_asserts. Zach Laine 2020-09-01 23:03:17 -05:00
  • 0a259038cf Fix broken reordering of concepts. Zach Laine 2020-09-01 22:53:56 -05:00
  • 3101a42a75 Add repeat() to the parsers in "The Parsers And Their Uses", and fix several errors elsewhere in the docs. Zach Laine 2020-09-01 22:41:44 -05:00
  • 6b449dff0e Add concepts section to docs. Zach Laine 2020-09-01 22:17:33 -05:00
  • 442a17b5d6 Remove a rethought TODO. Zach Laine 2020-09-01 21:59:03 -05:00
  • 1f6e62c6fb First draft of "The Parsers And Their Uses" section. Zach Laine 2020-09-01 21:51:08 -05:00
  • 711bc9e2b3 - eol_parser -> ws_parser - ws_parser does all whitespace (according to the Unicode White_Space property) or just eol, depending on parameterization. - Add ws, a parser object that uses the all-whitespace mode of ws_parser. - Fix an error in the constraints on *parse(); iterators over char8_t (and not just pointers) now properly fall under the Unicode parsing path. Zach Laine 2020-09-01 01:49:09 -05:00
  • 858f723d14 Correct an error in the docs about the attribute type of ascii::*. Zach Laine 2020-09-01 01:28:12 -05:00
  • 852559ce67 static_assert inside the prase() overloads that take an attr out-param that the parser generates an attribute. Zach Laine 2020-09-01 01:21:30 -05:00
  • 4b77624f22 Bring detection.hpp into sync with Boost.Text. Zach Laine 2020-09-01 01:11:12 -05:00
  • 12c4f61a6b Add ill_formed.hpp. Zach Laine 2020-09-01 01:10:28 -05:00
  • f5244bb547 Put the contents of detection.hpp in detail. Zach Laine 2020-08-31 23:07:19 -05:00
  • 53542cb69a assert -> BOOST_ASSERT Zach Laine 2020-08-31 22:08:17 -05:00
  • fba753eecf Finish the first draft of the attribute generation docs. Zach Laine 2020-08-31 21:56:27 -05:00
  • 869a9fc003 detail::container -> container Zach Laine 2020-08-31 21:34:36 -05:00