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 |
|
Zach Laine
|
a9b3eb6c85
|
Add libyaml_check CMake target.
|
2017-05-12 16:16:11 -05:00 |
|
Zach Laine
|
1278bdfd0a
|
Consolidate lists of tests and known failures.
|
2017-05-12 16:08:49 -05:00 |
|
Zach Laine
|
2a916dfe7f
|
Correct handling of newlines in spaced.
|
2017-05-12 14:53:31 -05:00 |
|
Zach Laine
|
e0c549a92d
|
Tag more broken tests.
|
2017-05-12 14:40:18 -05:00 |
|
Zach Laine
|
ae2cb90a9a
|
Add JSONTestSuite as a submodule.
|
2017-05-12 14:12:44 -05:00 |
|
Zach Laine
|
edb019f72e
|
It looks like the yaml-test-suite tests intend a terminal "\" to be a
placeholder for a terminal newline.
|
2017-05-12 13:59:57 -05:00 |
|
Zach Laine
|
190666b32f
|
Enforce positive indentation requirement in block scalars.
|
2017-05-12 13:49:21 -05:00 |
|
Zach Laine
|
445f7412f8
|
Fix more backtracking issues, this time in single-quoted strings.
|
2017-05-12 00:39:49 -05:00 |
|
Zach Laine
|
3981fe6ca0
|
Fix backtracking problems in double-quoted text parsing.
|
2017-05-12 00:14:41 -05:00 |
|
Zach Laine
|
8ab9170e4c
|
Give l_empty a single newline char attribute.
|
2017-05-11 20:34:15 -05:00 |
|
Zach Laine
|
d50bbd5668
|
Make the use of compare_libyaml optional, and off by default.
|
2017-05-11 19:19:24 -05:00 |
|