Zach Laine
|
67e67afc3e
|
Add ASan and UBSan build support.
|
2017-04-28 21:19:39 -05:00 |
|
Zach Laine
|
1ed16473ad
|
Add omit[] to more places in the flow parsers; this fixes many results, but
not parsing.
|
2017-04-28 00:37:07 -05:00 |
|
Zach Laine
|
8a5b47312e
|
Numerous small corrections, fixing several failures.
|
2017-04-28 00:16:52 -05:00 |
|
Zach Laine
|
1694c7831c
|
Correct copyright years.
|
2017-04-27 22:37:11 -05:00 |
|
Zach Laine
|
122b56cbd9
|
array_t -> seq_t
object_t -> map_t
anchored_object_t -> anchored_node_t
object_element_t -> map_element_t
|
2017-04-27 22:36:55 -05:00 |
|
Zach Laine
|
14133d1954
|
Remove old parser cruft, and omd namespace.
|
2017-04-27 22:36:55 -05:00 |
|
Zach Laine
|
b61041da17
|
Add support for expected-fail tests.
|
2017-04-27 22:36:55 -05:00 |
|
Zach Laine
|
534a5ceb7f
|
Convert the current test to parse-only, and preserve the current round-trip
test in a new TU, to be used later.
|
2017-04-27 22:36:48 -05:00 |
|
Zach Laine
|
d8b04377dd
|
Add a hash case for null_t.
|
2017-04-27 19:45:37 -05:00 |
|
Zach Laine
|
a5c83296f4
|
Fix crashes in tests, due to improper checking of parse validity.
|
2017-04-27 19:45:37 -05:00 |
|
Zach Laine
|
777923c791
|
Fix GCC buld error.
|
2017-04-27 19:45:37 -05:00 |
|
Zach Laine
|
d22c4f60b3
|
Remove unneeded omit[]s.
|
2017-04-27 19:45:37 -05:00 |
|
Zach Laine
|
9c209f5f75
|
std::string -> void on numerous character parsers.
|
2017-04-27 00:14:29 -05:00 |
|
Zach Laine
|
ec1d3d5a76
|
Switch parse test to using new parser.
|
2017-04-26 21:25:50 -05:00 |
|
Zach Laine
|
8ee7d42672
|
Add parsers implementing YAML Character Stream section.
|
2017-04-26 21:10:04 -05:00 |
|
Zach Laine
|
46a0826b93
|
Add parsers implementing Block Styles section.
|
2017-04-26 20:27:21 -05:00 |
|
Zach Laine
|
a9ad95203a
|
Add parsers implementing Flow Styles section.
|
2017-04-25 22:15:45 -05:00 |
|
Zach Laine
|
5740ead138
|
Add parsers implementing Basic Structures section.
|
2017-04-25 15:59:59 -05:00 |
|
Zach Laine
|
074d33f125
|
-Wno-parentheses
|
2017-04-25 15:59:59 -05:00 |
|
Zach Laine
|
a0a6d5f2e9
|
Add new lowest-level parser, implementing YAML section 5.
|
2017-04-25 15:59:59 -05:00 |
|
Zach Laine
|
bf905eb6b3
|
Expand context_t to have all the contexts from the spec.
|
2017-04-24 20:34:26 -05:00 |
|
Zach Laine
|
caaa85e07e
|
Add debug support for recent additions.
|
2017-04-24 16:49:54 -05:00 |
|
Zach Laine
|
267cd4bbcf
|
Sketch in folded scalar portion of block rewrite.
|
2017-04-24 16:33:59 -05:00 |
|
Zach Laine
|
a57b0fc0f2
|
Refactor block literals to make the code clearer.
|
2017-04-24 16:03:40 -05:00 |
|
Zach Laine
|
7e52a66eda
|
Sketch in literal scalar portion of block rewrite.
|
2017-04-24 14:54:48 -05:00 |
|
Zach Laine
|
d4e4e0e3ac
|
Include scalar.yaml in the "check" target.
|
2017-04-24 10:54:41 -05:00 |
|
Zach Laine
|
ae74567002
|
Rewrite "yaml" grammar to better conform to the spec.
|
2017-04-24 10:48:48 -05:00 |
|
Zach Laine
|
9b09002357
|
Remove escaping of % and # in original .tml test files.
|
2017-04-24 10:46:33 -05:00 |
|
Zach Laine
|
1eb81cf4a1
|
Grooming.
|
2017-04-23 19:46:09 -05:00 |
|
Zach Laine
|
7c8e13d0a0
|
Sketch in proper stream parsing, including support for directives.
|
2017-04-23 19:44:05 -05:00 |
|
Zach Laine
|
cf3459fe86
|
Remove last bits of previous flow implementation; breaks most tests.
|
2017-04-23 18:23:03 -05:00 |
|
Zach Laine
|
5d81d5a9bd
|
Add properties parser.
|
2017-04-23 13:44:32 -05:00 |
|
Zach Laine
|
21cf94ef79
|
Rewrite flow for better conformance to the spec; fixes 7 tests. Not complete.
|
2017-04-23 13:44:06 -05:00 |
|
Zach Laine
|
af66c67c0c
|
Bring unquoted strings into closer conformance to the spec.
|
2017-04-22 02:54:16 -05:00 |
|
Zach Laine
|
af8246777e
|
More BOOST_SPIRIT_DEBUG accommodations.
|
2017-04-22 02:54:16 -05:00 |
|
Zach Laine
|
b72d0a94b0
|
Allow trailing commas in flow sequences and mappings; fixes 3 tests.
|
2017-04-22 02:54:16 -05:00 |
|
Zach Laine
|
6f008cb19a
|
Use GTest in parse_yaml_test.cpp for better error reporting.
|
2017-04-21 23:23:05 -05:00 |
|
Zach Laine
|
1533f97c06
|
Use make_test_suite_yaml.py to update the .yml files in test_files when Python is found on the system; check in each resulting file and add it as a test.
|
2017-04-21 23:23:05 -05:00 |
|
Zach Laine
|
44da7cae41
|
Add make_test_suite_yaml.py.
|
2017-04-21 23:23:04 -05:00 |
|
Zach Laine
|
51a02c96e7
|
Add github.com/yaml/yaml-test-suite.git as a submodule.
|
2017-04-21 23:23:04 -05:00 |
|
Zach Laine
|
dc36d8dbed
|
Comment out failing tests.
|
2017-04-21 23:23:04 -05:00 |
|
Zach Laine
|
8fd0bab12e
|
Re-enable Spirit debug output.
|
2017-04-20 22:30:08 -05:00 |
|
Zach Laine
|
033b339c76
|
Cruft removal -- Jamfile, readmes, and test cruft.
|
2017-04-20 21:11:10 -05:00 |
|
Zach Laine
|
6137003e7f
|
Build parser into its own TU.
|
2017-04-20 21:01:47 -05:00 |
|
Zach Laine
|
14baf0e2e4
|
Add CMake build, GTest, and Google Bench.
|
2017-04-20 21:01:31 -05:00 |
|
Zach Laine
|
d550e0f76b
|
Fix round-trip tests by storing object_t members in read-order.
|
2017-04-20 20:52:03 -05:00 |
|
Zach Laine
|
ad11d4ecab
|
BOOST_FOREACH -> range-based for
|
2017-04-20 20:52:03 -05:00 |
|
Zach Laine
|
25211f09db
|
Add round-trip testing (not passing yet).
|
2017-04-20 20:52:03 -05:00 |
|
Zach Laine
|
1d52f3f1b7
|
Promote testing parse() to a part of the parser interface; make it header-only
or compiled via a macro.
|
2017-04-20 20:51:57 -05:00 |
|
Zach Laine
|
1ef7049266
|
De-templatize parse() for later re-use as compiled code.
|
2017-04-20 20:51:57 -05:00 |
|