2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-29 19:52:12 +00:00

367 Commits

Author SHA1 Message Date
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
Joel de Guzman
7189fbdb8e Implement 8.10. and 8.11 from yaml specs + tests 2012-01-15 16:37:20 +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
59db9de595 Updated gold.txt using better yaml printing 2012-01-14 11:42:41 +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
7dff6ca4d1 stream and documents 2011-11-28 00:02:38 +08:00
Joel de Guzman
413cbe1a41 + detecting and printing NaN and infinity
+ map keys reverted to strings (correct)
2011-11-27 18:58:36 +08:00
Joel de Guzman
eaca74045b Updates for real INF and NAN 2011-11-27 13:55:37 +08:00
Joel de Guzman
0561d5a396 More tests + updates 2011-11-27 12:42:34 +08:00
Joel de Guzman
f8199de15a quick & dirty diff checking + golden (tested & expected) results
*** a better test facility should be written diffing the result with a "golden" file! ***
2011-11-21 11:19:19 +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
9fe77c23b3 one remaining test failing, and that is non-implemented (easy) code. we're good. the rest should be straightforward. 2011-11-16 15:44:51 +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
052b93db0c More tests -- compact blocks 2011-11-16 11:22:19 +08:00
Joel de Guzman
9eeb165f73 More tests. All tests pass *except* one. 2011-11-16 09:44:51 +08:00
Joel de Guzman
cfc35fbdd6 yet more tests and more debugging 2011-11-15 22:51:40 +08:00
Joel de Guzman
853e06a3cc More tests. but a bug prevents detection of null elements (see line 100 yaml_def.hpp) 2011-11-15 21:28:00 +08:00