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

Commit Graph

  • ac29f85e15 Address TODOs in compile_attribute.cpp. Zach Laine 2020-08-31 21:33:45 -05:00
  • 07daa697f4 Make it an error to put eps in an or_parser anywhere but at the end. Zach Laine 2020-08-31 19:10:38 -05:00
  • a05a2c9f3a Flesh out more of the attribute generation section. Zach Laine 2020-08-31 01:55:15 -05:00
  • 9064d46641 Add a compile test that covers all the standalone parsers, and fix errors related to deducing uses of the Unicode vs. non-Unicode parsing code paths. Zach Laine 2020-08-31 01:28:25 -05:00
  • cb8a7043a3 Make sure lit() and _l and _p UDLs all cover char, char8_t, and char32_t. Zach Laine 2020-08-31 01:26:13 -05:00
  • af661a8b43 Suppress sign comparison warnings in detail::mismatch(). Zach Laine 2020-08-31 01:24:28 -05:00
  • 5a7924f614 Fix the char8_t stream insertion problem throughout the printing code. Zach Laine 2020-08-31 01:22:43 -05:00
  • d1cfdbe41d Flatten or and seq parsers fully. Zach Laine 2020-08-31 00:46:22 -05:00
  • 24e7b1f134 Flesh out attribute generation section a bit; still more to do. Zach Laine 2020-08-30 23:54:41 -05:00
  • fec67a1dd1 Hide some of the implementation details of parser_interface from Doxygen. Zach Laine 2020-08-30 23:52:06 -05:00
  • 470def65ab Sketch more of the outline of the tutorial, including most of the section on attribute generation. Zach Laine 2020-08-30 21:05:01 -05:00
  • c37a9c65a8 Add a mutable symbol table example. Zach Laine 2020-08-30 18:03:47 -05:00
  • b33992719c Add symbol parser example. Zach Laine 2020-08-30 16:48:30 -05:00
  • 1d90a9d621 Lots of doc updates: Zach Laine 2020-08-30 15:05:14 -05:00
  • df8aaafc87 Move nope into detail, and add a user-facing replacement "none" with semantics more appropriate for users. Zach Laine 2020-08-30 14:58:40 -05:00
  • f8191db3f5 Remove a nonsensical TODO. Zach Laine 2020-08-30 11:41:40 -05:00
  • 565596af52 Add section "This Library's Relationship to Boost.Spirit". Zach Laine 2020-08-30 01:17:58 -05:00
  • b8e5eb7b4d First draft of the intro. Zach Laine 2020-08-30 00:30:54 -05:00
  • bf6c5c605f Add a test of code-point matching when using UTF-8. Zach Laine 2020-08-30 00:17:07 -05:00
  • e496cbb3a9 Accomodate printing of char8_t input strings to streams. Zach Laine 2020-08-30 00:16:33 -05:00
  • b43e7a354c Move a TODO within parser.hpp. Zach Laine 2020-08-29 23:32:01 -05:00
  • d592a38f1f Remove addressed TODO. Zach Laine 2020-08-29 23:30:55 -05:00
  • b817d9f2f9 Move the "examples", which are really a step-by-step tutorial, to the tutorial section. Zach Laine 2020-08-29 23:00:01 -05:00
  • 5fcca75797 Flesh out the trivial example, fix a problem with it, and add another example just like it that uses a skipper. Zach Laine 2020-08-29 21:10:59 -05:00
  • 0b86c6771e Flesh out the hello world example accompanying text. Zach Laine 2020-08-29 20:26:10 -05:00
  • 97c273e0c3 Replace a TODO in test/CMakeLists.txt with an indication of the "fix" for the affected tests. Zach Laine 2020-08-29 19:55:54 -05:00
  • 950065b5d2 Range-parse overloads now indicated failure when the entire input is not consumed. Zach Laine 2020-08-29 18:43:57 -05:00
  • 532b138c77 std::mismatch -> detail::mismatch for sentinel support. Zach Laine 2020-08-29 18:16:08 -05:00
  • 678f666785 Remove "skip_" from all parse function names, and reorder the parse API functions for clarity. Also, drive-by cleanups in parser_{,api}.cpp. Zach Laine 2020-08-29 17:44:12 -05:00
  • 7020a9a7b3 Move parser_interface Doxygen doc to parser_fwd.hpp. Zach Laine 2020-08-29 16:42:22 -05:00
  • 9d72b3d1fc Silence very verbose warnings about std::is_pod being deprecated, coming from Boost.Hana. Zach Laine 2020-08-29 15:48:05 -05:00
  • 1f317d5588 Add trivial parsing example. Zach Laine 2020-08-29 15:39:38 -05:00
  • 7e32012482 Regularize {int,float}_parser. They were returning incorrect success results when no input was consumed, and float_parser was never setting the success value. Zach Laine 2020-08-29 15:36:12 -05:00
  • c2374adf12 Warning mitigation in test/. Zach Laine 2020-08-29 15:35:07 -05:00
  • 2e8861256d detail::make_input_range -> detail::make_input_view Zach Laine 2020-08-29 14:55:54 -05:00
  • 7b98b97615 R range -> R r Zach Laine 2020-08-29 14:54:45 -05:00
  • b06c80bfe2 Add skeleton of Boost docs. Zach Laine 2020-08-29 01:28:07 -05:00
  • da631afac4 Update the Spirit X3 code to Boost 1.71. Zach Laine 2020-08-28 20:43:51 -05:00
  • 19cd3646d5 Cruft removal. Zach Laine 2020-08-28 20:40:07 -05:00
  • f96b6bb0ad Trim all the YAML and JSON stuff, leaving only the parsing library. Zach Laine 2020-08-28 18:49:09 -05:00
  • 98c1426695 Amplify the nope Doxygen docs. Zach Laine 2020-08-28 17:44:33 -05:00
  • 4b516b9047 Make parser::range a proper view (called "parser::view"), via view_interface. Some drive-by grooming. Zach Laine 2020-08-28 17:35:58 -05:00
  • 46a2acd18d Largish changes to get things going again after a long break: Zach Laine 2020-08-28 00:09:57 -05:00
  • 96f78ef743 Doxygen doc copy editing. Zach Laine 2020-08-25 23:36:59 -05:00
  • 03e01b9810 Add an API test for the parser API, using the new standalone CMake parser library; fix errors. Zach Laine 2019-11-21 20:01:06 -06:00
  • ea3242867c Update concepts constraints, but disable them for now. Zach Laine 2019-11-20 19:59:02 -06:00
  • 443bbb92e6 Add initial sketch of concept constraints for parser. Zach Laine 2019-11-18 23:18:12 -06:00
  • 7651786c3f Add optional support for cmcstl2 to the CMake build. Zach Laine 2019-11-18 19:43:20 -06:00
  • 5de175bd3a Change detail::make_input_range() to treat char8_t ranges as UTF-8. Zach Laine 2019-11-18 17:29:30 -06:00
  • 84eedfe4f9 detail::nope -> nope Zach Laine 2019-11-16 19:34:03 -06:00
  • 653aa020dc For all inputs to the parse API, enforce the use of char for non-Unicode parsing, and interpret all other integral types as some sort of UTF encoding. Zach Laine 2019-11-16 18:56:30 -06:00
  • e03ff6c3eb Remove mooted TODO. Zach Laine 2019-11-16 18:09:06 -06:00
  • 353186e24b std::string_view -> range in remaining parser operators. Zach Laine 2019-11-16 18:06:40 -06:00
  • 5a20442ee9 Generalize string() and string lit() to take arbitrary parse ranges, not just string_view. Zach Laine 2019-11-16 17:51:02 -06:00
  • 69be9da939 Add requirement to detail::range_t that the value type of the range is integral. Zach Laine 2019-11-16 17:32:47 -06:00
  • 1ce01c9ff2 Remove parser_interface template parameters whereever CTAD can deduce them. Zach Laine 2019-11-16 16:49:30 -06:00
  • f3b66fff64 Make string_parser work with generalized ranges of characters, not just std::string_view. Zach Laine 2019-11-16 16:34:06 -06:00
  • 5047186ee8 Doc tweaks; mark places where support for code point ranges is needed. Zach Laine 2019-11-16 14:28:13 -06:00
  • f39e309118 Add Windows-only support for std::wstring_view file names. Zach Laine 2019-11-16 14:06:18 -06:00
  • 1f76001950 Regularize name in copyright notices. Zach Laine 2019-11-16 13:44:54 -06:00
  • 89e08daec7 string_view -> range in the parse API. Zach Laine 2019-11-16 10:26:04 -06:00
  • 3addd65178 Add TODOs. Zach Laine 2019-11-16 10:02:45 -06:00
  • 22112f177b Warning mitigation in detail::char_range. Zach Laine 2019-11-16 09:50:32 -06:00
  • 40458a36ab Sentinelize all the things. Zach Laine 2019-11-15 22:59:08 -06:00
  • 17db109704 Cruft removal. Zach Laine 2019-11-15 02:01:27 -06:00
  • f330217402 Remove char const * overload of op() from char_parser, and correct the docs on its range overload; misc doc tweaks. Zach Laine 2019-11-15 00:57:58 -06:00
  • b5f3c45f10 Generalize parser_interface::operator() as a variadic function template. Zach Laine 2019-11-15 00:05:23 -06:00
  • 01201aebd3 Sentinels in range template. Zach Laine 2019-11-15 00:04:35 -06:00
  • bdd4514efd API documentation in parser/error_handling*. Zach Laine 2019-11-15 00:00:16 -06:00
  • 5f33a6a1e9 Upgrade to the latest version of Boost.Text transcoding code. Zach Laine 2019-11-14 23:10:56 -06:00
  • e51b4fe8c1 Round out first draft of parser API docs. Zach Laine 2019-11-14 22:24:19 -06:00
  • ea9b2fff4a Move tag objects used in context accessors to detail. Zach Laine 2019-11-14 19:45:35 -06:00
  • 47709e4961 Even more parser API docs. Zach Laine 2019-11-14 18:24:23 -06:00
  • a69f9df5c2 Add more parser API documentation. Zach Laine 2019-11-14 15:55:13 -06:00
  • 6a39de3f73 Add more parser documentation. Zach Laine 2019-11-13 22:26:13 -06:00
  • 7df8b8c112 Partial parser API docs. Zach Laine 2019-11-12 23:29:48 -06:00
  • 79b38d9eb4 Use relative instead of absolute paths in parse_perf. Zach Laine 2019-11-01 23:24:04 -05:00
  • d76288b860 Add missing include. Zach Laine 2019-10-31 00:23:18 -05:00
  • 2cbce12473 Add iterators to the beginning and end of the entire parsed sequence to the context, and improve the error/warning reporting mechanism. Zach Laine 2019-10-30 22:22:06 -05:00
  • f802b967da boost::optional -> std::optional Zach Laine 2019-10-30 20:24:30 -05:00
  • f3c33af01b boost::variant -> std::variant Zach Laine 2019-10-30 20:12:23 -05:00
  • 514722965d Cruft removal. Zach Laine 2019-10-30 19:40:52 -05:00
  • abde235d92 Sketch in top-level YAML parse function. Zach Laine 2019-10-30 19:37:57 -05:00
  • b56461684b Add yaml::value test. Zach Laine 2019-10-29 23:25:54 -05:00
  • 3bb0517391 Sketch in space-optimized yaml::value; fix constexpr-related build issues on Clang. Zach Laine 2019-10-29 20:24:20 -05:00
  • ee93a67f6c Cruft removal. Zach Laine 2019-10-29 01:01:59 -05:00
  • 9f8c121731 Add json::value test. Zach Laine 2019-10-29 00:14:49 -05:00
  • d0135f445e Sketch in space-optimized json::value. Zach Laine 2019-10-28 23:01:23 -05:00
  • af7f88b677 Make parse API 4x smaller by: Zach Laine 2019-10-28 21:08:01 -05:00
  • e7da42cff1 boost::parser::param -> boost::parser::_p Zach Laine 2019-10-28 19:19:04 -05:00
  • 9eec9a1660 Sketch the remaining Block Sequences rules. Zach Laine 2019-10-27 21:05:57 -05:00
  • f1053eaa81 Add inline variable template for param<N> callables. Zach Laine 2019-10-27 21:05:35 -05:00
  • 3734d05474 Sketch in top-level YAML stream rules. Zach Laine 2019-10-27 16:10:37 -05:00
  • ee6638a544 Add a TODO. Zach Laine 2019-10-27 16:10:13 -05:00
  • 893ec613cf Add .clang-format. Zach Laine 2019-10-27 15:36:41 -05:00
  • fa1486c60e Fix outstanding compilation errors. Zach Laine 2019-10-26 21:13:16 -05:00
  • 65813d153d Comment typo. Zach Laine 2019-10-26 21:12:45 -05:00
  • 404487d6cb Fix broken folded rules. Zach Laine 2018-11-05 10:20:51 -06:00
  • 6af5a973b5 Ensure all attributes are initializes in parsers. Zach Laine 2018-11-05 10:17:20 -06:00
  • a0fb2e8850 Initial sketch of folded and associaated rules. Probably does not even compile. Zach Laine 2018-10-31 23:18:27 -05:00