2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-22 17:32:35 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
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
4c59bde497 Major refactor that enables diagnosis of repeated YAML and TAG directives. 2017-05-14 01:26:39 -05:00
Zach Laine
b75aab44cf Move configuration of Spirit debug output from compile time to run time. Give
the test apps an optional "-v" flag to control this output.
2017-05-11 15:51:31 -05:00
Zach Laine
1bd2eb7d36 Second half of the BOM-handling refactor. 2017-05-07 12:37:39 -05:00
Zach Laine
7e208d7085 First half of a largish refactor that allows BOMs to be handled correctly. 2017-05-06 14:29:10 -05:00
Zach Laine
edfc5c4f6d boost::optional instead of out-param for parse_yaml(). 2017-05-05 16:01:15 -05:00
Zach Laine
202cb3318a Don't require test input files to contain at least one document. 2017-05-01 21:26:55 -05:00
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
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
14133d1954 Remove old parser cruft, and omd namespace. 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
ae74567002 Rewrite "yaml" grammar to better conform to the spec. 2017-04-24 10:48:48 -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
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
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
f23e346b72 Anchors and aliases implemented 2012-01-17 18:41:59 +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
471fb28c00 misc updates 2012-01-14 21:55:31 +08:00
Joel de Guzman
273cc0d7af Re-added block literals 2012-01-14 15:24:39 +08:00
Joel de Guzman
603e495f42 First check-in YAML printing + misc cleanups. 2011-12-22 17:06:34 +08:00
Joel de Guzman
8974c1623d Misc updates 2011-11-29 00:01:49 +08:00
Joel de Guzman
0561d5a396 More tests + updates 2011-11-27 12:42:34 +08:00
Joel de Guzman
f10826e908 + More tests
+ explicit map syntax OK
+ all tests passing
2011-11-21 10:59:22 +08:00
Joel de Guzman
096a1349c7 Major breakthrough. Michael's yaml file is parsing successfully!!! 2011-11-16 16:14:15 +08:00
Joel de Guzman
3a0ce8969c "classic" position iterator works fine. down to 2 tests failing. must update the other tests cpp files. 2011-11-16 15:23:32 +08:00
Joel de Guzman
335741d89e Column position detection not working well. Switching to "classic" position_iterator. 2011-11-16 14:58:24 +08:00
Joel de Guzman
9eeb165f73 More tests. All tests pass *except* one. 2011-11-16 09:44:51 +08:00
Joel de Guzman
8d83cfafa1 block arrays working 2011-11-15 12:16:51 +08:00
Joel de Guzman
dd4d3aec58 incremental updates 2011-11-14 21:16:33 +08:00
Joel de Guzman
d75b00437a parsing blocks 2011-11-14 15:14:26 +08:00
Hartmut Kaiser
afc74b77e0 Renaming parser tests 2011-11-12 16:45:41 -06:00