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

286 Commits

Author SHA1 Message Date
Zach Laine
4f0c270483 Regular null_t. 2018-09-29 12:05:40 -05:00
Zach Laine
b894548871 Add a TODO. 2018-09-29 12:05:40 -05:00
Zach Laine
7ff8f71fda Cruft removal. 2018-09-29 12:05:40 -05:00
Zach Laine
bf75157cd3 Add a TODO. 2018-09-29 12:05:40 -05:00
Zach Laine
6feae9fdca Fix misplaced lexeme[] directive in JSON string parsing. 2018-09-29 12:05:40 -05:00
Zach Laine
ab5105d1df Update JSONTestSuite submodule. 2018-09-29 12:05:40 -05:00
Zach Laine
2bdda1d54a Allow exceptions to escape from scoped_multipart_error_t's dtor. 2018-09-28 19:27:39 -05:00
Zach Laine
14a6d96b55 Add support for X3 debug trace. 2018-09-28 19:27:39 -05:00
Zach Laine
1cc351aa29 Add a limit on the number of open arrays and/or object to prevent stack
overflows.
2018-09-28 00:09:17 -05:00
Zach Laine
0d5af80dbe Switch the JSON parsing tests to use the new JSON parser; tighten up number
parsing in same.
2018-09-28 00:08:11 -05:00
Zach Laine
9240f9d124 Stylistic changeds to x3_error_reporting, including its output. 2018-09-27 20:29:16 -05:00
Zach Laine
c5eb6f9eef Remove position cache from x3_error_handler. 2018-09-27 20:29:16 -05:00
Zach Laine
5be1c00730 Emit parse errors via callback instead of just dumping them to the console. 2018-09-27 20:29:16 -05:00
Zach Laine
7a82f505b0 Copy x3/support/utility/error_reporting.hpp into yaml/parser for modification. 2018-09-27 20:29:16 -05:00
Zach Laine
a37c8206b4 Break up json detail header to fix incomplete type errors in GCC build. 2018-09-27 20:29:16 -05:00
Zach Laine
5112aa4435 Add json::operator==. 2018-09-27 00:32:29 -05:00
Zach Laine
a7832f9446 Move most of json::detail namespace out into its own header. 2018-09-27 00:21:26 -05:00
Zach Laine
6c1945a5b0 Create json_fwd.hpp header. 2018-09-27 00:06:25 -05:00
Zach Laine
7c39af865f Break JSON parsing code and JSON data model into separate files. 2018-09-26 23:58:36 -05:00
Zach Laine
ee8df7636f Add JSON parser to build. 2018-09-26 23:29:55 -05:00
Zach Laine
53db073094 Peace-of-mind checkin of experimental Spirit X3 JSON parser. 2018-09-26 22:57:02 -05:00
Zach Laine
3fb764874f Correct gross error in the use of Boost.Text UTF-8 iterators. 2018-09-26 22:54:28 -05:00
Zach Laine
5db8b41f7d Use the UTF-8 iterators from Boost.Text instead of the one from Boost.Regex. 2018-09-24 10:20:12 -05:00
Zach Laine
20c989f1f8 Clang-format. 2018-09-24 07:45:35 -05:00
Zach Laine
fd24e68057 Add license, index.html, and meta/. 2018-09-24 07:13:55 -05:00
Zach Laine
2575467a40 Move all headers under include/boost/. 2018-09-24 06:48:48 -05:00
Zach Laine
d71f00f99c yaml:: -> boost::yaml:: 2018-09-24 06:30:08 -05:00
Zach Laine
87d2c2adf2 Tag numerous JSONTestSuite files as expected failures. 2017-05-18 22:05:41 -05:00
Zach Laine
f5c036dc42 Tag failing json tests with invalid UTF-8 sequences as expected failures. 2017-05-16 18:30:58 -05:00
Zach Laine
c2def6b170 Tag failing i_* json tests as expected failures. 2017-05-16 18:16:45 -05:00
Zach Laine
a1b3f9b137 Add a test for each JSONTestSuite/test_parsing file. 2017-05-16 12:44:45 -05:00
Zach Laine
944d24b664 Add an explicit error when leading block scalar indentation is wrong. 2017-05-15 10:19:39 -05:00
Zach Laine
4978d913b4 Add a test covering the new warnings. 2017-05-15 00:33:23 -05:00
Zach Laine
50063e8d3a Fix uninitialized iterator in handle_properties. 2017-05-14 23:40:50 -05:00
Zach Laine
1bdf1e44f3 Check that warnings are enabled before doing work to issue them. 2017-05-14 18:23:33 -05:00
Zach Laine
d1c14e4190 Add a warnings when duplicate-key map entries are found. 2017-05-14 18:17:52 -05:00
Zach Laine
aedb5c9c97 Add find() and count() to map_t. 2017-05-14 17:35:18 -05:00
Zach Laine
8d444b9754 Remove the mistaken anchor_property hack, fixing an expected failure. 2017-05-14 16:43:14 -05:00
Zach Laine
023d5b8c9b Another refactor to enable good warnings when anchors are redefined. 2017-05-14 16:32:42 -05:00
Zach Laine
a897149362 Grooming. 2017-05-14 12:51:22 -05:00
Zach Laine
3cc902bf87 Avoid unnecessary allocations when printing YAML strings. 2017-05-14 12:42:17 -05:00
Zach Laine
3474dc9490 Add warning when reserved directives are used. 2017-05-14 11:32:17 -05:00
Zach Laine
9801982866 Add a couple of TODOs. 2017-05-14 01:34:51 -05:00
Zach Laine
4c59bde497 Major refactor that enables diagnosis of repeated YAML and TAG directives. 2017-05-14 01:26:39 -05:00
Zach Laine
6ee791a382 Add overloads of parse_yaml() that take an existing stream_t. 2017-05-13 02:23:23 -05:00
Zach Laine
89bacfa833 Remove current-parse-specific state from the error_handler_t ctor, in
preparation for the reuse of stream_t in multiple calls to parse_yaml().
2017-05-13 02:10:10 -05:00
Zach Laine
077d1d13e9 Add a benchmark to measure the time it takes to create the parser rules. 2017-05-12 21:02:34 -05:00
Zach Laine
a478c44b69 Move the test library sources to src/, and compile a real lib for the test and
perf programs to use.
2017-05-12 20:26:55 -05:00
Zach Laine
77739b7a91 Add Google Benchmark-based parser perf test. 2017-05-12 18:54:01 -05:00
Zach Laine
6174694d1a test_files -> local_test_files 2017-05-12 17:44:40 -05:00