Commit graph

29 commits

Author SHA1 Message Date
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 1f55fccc26 Updated yaml_bench to benchmark parsing, not Loader construction. 2014-08-04 02:14:37 +02:00
Ferdinand Majerech 46a574c0b4 Fixed a typo. 2014-08-04 02:13:06 +02:00
Ferdinand Majerech 760e39479e yaml_gen now gens strings with user-specified alphabet, with Unicode support. 2014-08-02 23:29:55 +02:00
Ferdinand Majerech af4245811a yaml_gen optimization. 2014-08-02 23:28:45 +02:00
Ferdinand Majerech 85b89d3323 yaml_gen should no longer generate maps/omaps with duplicate keys. 2014-08-02 23:28:33 +02:00
Ferdinand Majerech 0d89c2beb1 yaml_bench Scanner benchmark, and files are not realoaded from HDD by default. 2014-08-02 23:27:44 +02:00
Ferdinand Majerech d4359f6394 Ported build types from CDC to dub. 2014-08-01 20:10:03 +02:00
Ferdinand Majerech a4b92ac5d0 Removed binary the shouldn't have been comittes. 2014-08-01 20:08:56 +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
Kiith-Sa 3f75b57b9e yaml_stats example DMD 2.061 compatibility. 2012-12-27 22:20:45 +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 915428c8ed CDC and yaml_bench makefile now always compile with debug
symbols. yaml_bench can now repeat the benchmark many times in a
single run. yaml_gen can now disable collection keys in mappings.
2011-10-23 16:10:27 +02: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 fb67e775e4 Added a YAML benchmark that loads and optionally extracts data
from and/or dumps a YAML file.
2011-10-22 16:20:06 +02:00
Ferdinand Majerech 1f2243190f Added a random YAML generator to serve as an example and for
benchmarking.
2011-10-22 00:24:29 +02:00
Ferdinand Majerech 7402d8f827 Fixed Makefile of the yaml_stats example.
Fixed a bug in Node that caused an empty exception message.
2011-10-21 20:40:37 +02:00
Ferdinand Majerech f726ff0b94 Added an example application that displays statistics about YAML
documents.
2011-10-20 23:20:02 +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 210091a75f Fixed a bug which prevented dumping to file. Updated tutorials
and example with new information.
2011-10-15 16:31:23 +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