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 |
|
Michael Caisse
|
dbab52959c
|
temporarily restrict booleans to 1.2 specification
|
2012-02-20 12:28:04 -08:00 |
|
Michael Caisse
|
58c185fd4f
|
boolean and null types must be followed by a delimator
|
2012-02-17 01:26:33 -08:00 |
|
Michael Caisse
|
28059f79dd
|
use type traits for std::distance type. Silence clang warnings
|
2012-02-11 12:33:26 -08:00 |
|
Michael Caisse
|
0ba4711691
|
make arrays stable so we can keep references to the ast nodes
|
2012-02-11 11:18:33 -08:00 |
|
Michael Caisse
|
bfa6eda7cb
|
Merge branch 'master' of github.com:consultciere/yaml_spirit
|
2012-02-11 11:00:37 -08:00 |
|
Michael Caisse
|
5917e6cedb
|
fix shadow warnings
|
2012-02-11 11:00:28 -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
|
7c94721b95
|
aliases as map keys and anchors in map keys proved to be tricky, but i think i nailed it.
|
2012-01-18 14:25:38 +08:00 |
|
Joel de Guzman
|
ce797181a5
|
Switching (back) to value_t map keys (to allow aliases and anchors as/in keys)
|
2012-01-18 09:54:47 +08:00 |
|
Joel de Guzman
|
0e43dd1394
|
A bit of cleanup
|
2012-01-18 09:44:58 +08:00 |
|
Joel de Guzman
|
ed74cf80a9
|
+ using qi::symbols to manage parsing of anchors and aliases
+ better error reporting
|
2012-01-17 23:29:19 +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
|
ef9c4dfb0d
|
misc updates
|
2012-01-16 12:16:59 +08:00 |
|
Joel de Guzman
|
af6a763fc8
|
renamed json_printer to yaml_printer
|
2012-01-16 09:33:53 +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
|
c3ad18cf58
|
there's no octal in string escapes
|
2011-11-27 22:42:45 +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
|
d3a477da2e
|
Misc cleanup
|
2011-11-16 16:36:56 +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 |
|