Commit graph

17 commits

Author SHA1 Message Date
Cameron Ross 7f913246ea Move custom types to Node (#213)
Move custom types to Node
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-15 08:37:50 +01:00
Cameron Ross a0ac38fbd7 make Loader interface a bit more consistent (#124)
make Loader interface a bit more consistent
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-05-31 09:02:21 +02:00
Cameron Ross 5c801d6689
make Constructor wholly @safe 2018-04-30 04:24:31 -03:00
Cameron Ross 4680e1b5b2 update examples so they can compile again, and make them visible to dub 2018-04-27 08:53:56 +03:00
Ferdinand Majerech c630f4713e Examples now point to the dub D:YAML package so they can ba stand-alone. 2014-08-06 17:39:53 +02:00
Ferdinand Majerech 6ccda33467 Minor fixes in examples and the 'custom types' tutorial. 2014-08-01 17:09:05 +02:00
Ferdinand Majerech 0dbe638296 Examples now use dub instead of Makefiles. 2014-08-01 17:06:23 +02:00
Ferdinand Majerech ab9ba7f5ba Updated import paths in docs, examples. 2013-12-17 15:14:44 +01:00
Ferdinand Majerech a341340d6c Using the dyaml.all module instead of yaml (which will eventually be removed). 2013-12-17 15:09:19 +01:00
Ferdinand Majerech 9596806644 Red-Black Trees are now used for duplicate detection, and planned
to be used for unordered map storage. This is because AAs still
don't work correctly and even if they did, require the user to
define both toHash and opCmp/opEquals for every YAML
struct/class. Now only opCmp needs to be defined.
Documentation/tutorials/examples have been updated accordingly.
2012-01-23 15:57:26 +01:00
Ferdinand Majerech fbc962623d Simplified the Constructor API. 2011-11-17 23:53:24 +01:00
Ferdinand Majerech 13ea5f0c24 Added a shortcut alias called "as" for Node.get(), and replaced
get() with as() all over the code, tutorials, examples and docs.
Fixed a bug in YAML benchmark makefile.
Fixed a bug in autoddoc configuration.
2011-10-22 17:06:32 +02:00
Ferdinand Majerech a87d618732 Examples' Makefiles now have a clean target. 2011-10-20 15:51:31 +02:00
Ferdinand Majerech 009017eef0 Simplified the Constructor and Resolver example -
no need for range checks as they are handled in Node itself.
2011-10-17 13:13:02 +02:00
Ferdinand Majerech 548480b06b Changed the Constructor API (for loading of custom types) to
make it easier to load custom classes/structs. Updated API docs,
tutorials and examples accordingly.
2011-10-17 12:53:38 +02:00
Ferdinand Majerech 34b11405d4 Implemented the resolver unittest.
Changed Loader API to be in line with Dumper,
and updated examples, tutorials and docs.
2011-10-12 23:49:42 +02:00
Ferdinand Majerech 283c42bf8f Initial commit. 2011-08-16 14:53:13 +02:00