2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-26 18:52:23 +00:00
Commit Graph

87 Commits

Author SHA1 Message Date
Zach Laine
98e4efbd47 Remove simplifying assumption in tests that each input file contains only one
document.
2017-04-30 10:52:18 -05:00
Zach Laine
b5e25fc867 Apparently <TAB> means \t in the input test data. Sigh. 2017-04-30 01:07:42 -05:00
Zach Laine
84209639c7 Serveral interconencted changes:
- anchored_node_t -> properties_node_t
- Correctly handle anchors and aliases, plus retention of propertieswhen
  specified (tags TBD).
- Remove now-moot link_yaml().

This makes ast::value_t Regular.
2017-04-29 23:20:08 -05:00
Zach Laine
59103f136a Add very simple test to exercise the flow plain parsers. 2017-04-29 16:59:50 -05:00
Zach Laine
67e67afc3e Add ASan and UBSan build support. 2017-04-28 21:19:39 -05:00
Zach Laine
8a5b47312e Numerous small corrections, fixing several failures. 2017-04-28 00:16:52 -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
a5c83296f4 Fix crashes in tests, due to improper checking of parse validity. 2017-04-27 19:45:37 -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
a0a6d5f2e9 Add new lowest-level parser, implementing YAML section 5. 2017-04-25 15:59:59 -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
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
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
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
Zach Laine
79ec42a719 Update Jamfile, fix Boost 1.60 build error, and disable Spirit debugging code. 2017-04-20 20:51:51 -05:00
Michael Caisse
1d69d5cbbb checkpoint 2012-07-21 10:09:58 -07:00
Joel de Guzman
9b244ea388 Added explicit types 2012-02-25 15:00:12 +08:00
Joel de Guzman
240cad5ea0 Fix for github issue 1 2012-02-25 13:32:26 +08:00
Joel de Guzman
bb0e3335f4 Fixes for MSVC problem with c++11 auto. This commit requires the latest boost trunk copy of Spirit with support for qi::copy. 2012-02-07 17:36:31 +08:00
Michael Caisse
26ad063d66 update files with boost license 2012-01-18 15:00:05 -08:00
Michael Caisse
ff673ebfda place in yaml namespace 2012-01-18 10:54:32 -08:00
Joel de Guzman
9e3ccc2331 Added bjam build files + separate cpp files for grammars 2012-01-18 18:08:27 +08:00
Joel de Guzman
11cb66114c Cleanup 2012-01-18 17:19:17 +08:00
Joel de Guzman
d277f6f713 Of course it works with block literals too! 2012-01-18 16:21:51 +08:00
Joel de Guzman
ab5f77864f Tough debugging session of corner cases. Anchor tests added! 2012-01-18 16:02:36 +08:00
Joel de Guzman
0e43dd1394 A bit of cleanup 2012-01-18 09:44:58 +08:00
Joel de Guzman
b010bb7180 More anchor tests 2012-01-17 18:59:47 +08:00
Joel de Guzman
f23e346b72 Anchors and aliases implemented 2012-01-17 18:41:59 +08:00
Joel de Guzman
43534ccb24 Allow top-level scalars 2012-01-17 10:46:32 +08:00
Joel de Guzman
6a259dfb7a - Improved unicode handling
- 100% conformance to yaml escapes (unicode stuff)
- More tests
2012-01-16 18:47:38 +08:00
Joel de Guzman
938e9dd577 - Separate blocks from yaml grammar (refactor)
- More specs conformance tweaks
2012-01-16 13:16:27 +08:00
Joel de Guzman
73731d2508 More tests and more tweaks 2012-01-15 23:43:39 +08:00
Joel de Guzman
22b161f7d6 Chomping implemented 2012-01-15 22:04:52 +08:00