Ferdinand Majerech
33a376b038
String representation of a Node's tag can now be accessed by the
...
user.
2011-10-20 15:48:21 +02:00
Ferdinand Majerech
fb814c66c2
Implemented a simple Queue data structure, until Phobos has a
...
replacement. Tokens are not immutable anymore.
2011-10-20 10:34:34 +02:00
Ferdinand Majerech
595302fbff
Bumped version strings to 0.3 so it won't get forgotten later.
2011-10-18 21:46:05 +02:00
Ferdinand Majerech
2cd2de44ff
Updated Constructor API documentation with examples.
2011-10-18 21:40:37 +02:00
Ferdinand Majerech
93b66da54c
Added a Resolver example to the API documentation.
2011-10-18 16:29:16 +02:00
Ferdinand Majerech
8ad650e089
Cleaned up exceptions and their messages.
...
Some minor dog fixes.
2011-10-18 16:12:22 +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
5547f62176
Final changes for the 0.2 release (hopefully).
2011-10-15 18:28:34 +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
23290239a7
There should be no problem constructing new instances of Tag,
...
Anchor and TagDirectives in separate threads anymore. D:YAML
still is not thread safe itself, though (it's the user's
responsibility to handle synchronization when working with a
single node from two threads, for example).
2011-10-14 19:54:41 +02:00
Ferdinand Majerech
765b74ffca
Updated the API documentation.
...
Updated examples based on the new Loader API.
(Dumper API still needs examples)
2011-10-14 10:34:53 +02:00
Ferdinand Majerech
21001b36b9
Got rid out dyaml.util . Was never a good idea, the functions
...
were not trivial to understand. For now, we just use canFind
with strings in scanner and emitter.
2011-10-13 22:04:37 +02:00
Ferdinand Majerech
8360da733d
All YAML exceptions now keep track of file and line they've been
...
thrown at, making debugging easier.
2011-10-13 11:30:14 +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
934df763ad
Most of emitter work done. There are some more changes left until 0.2,
...
and the turorials and documentation still need some updating.
2011-10-11 15:58:23 +02:00
Ferdinand Majerech
967fe8c48b
Added various node manipulation functions so e.g. new elements
...
can be added to collections before emitting. The code is
somewhat ugly, might be revised later.
2011-08-21 23:53:19 +02:00
Ferdinand Majerech
b0f2ce201a
Added Node constructors needed to create new nodes to emit.
2011-08-21 03:56:21 +02:00
Ferdinand Majerech
2c230751d2
Added support for null tag structs (used in parsing), using
...
the Tag struct throughout the code. Event struct size decreased
to 48 bytes.
2011-08-21 00:07:32 +02:00
Ferdinand Majerech
dde7d2f64f
Node equality test now takes tag into account, as the
...
specification requires.
2011-08-20 22:38:32 +02:00
Ferdinand Majerech
7192503fe6
Implemented a Tag struct taking as little memory as possible.
...
Removed endMark from Node to keep it in 32 bytes on 64bit.
This will result in slightly worse debugging messages, but we
still have the start position of a node.
Tag is needed for better compliance with the spec and emitting
support for multiple tags with the same D data type.
2011-08-20 22:15:20 +02:00
Ferdinand Majerech
932c125eeb
Link to differences from the spec now points to the wiki.
2011-08-16 22:08:37 +02:00
Ferdinand Majerech
d7d3afe7ad
Added links to GitHub wiki to README.rst.
2011-08-16 21:53:36 +02:00
Ferdinand Majerech
0ae5b53720
Removed the getting started links that were confusing in GitHub.
2011-08-16 20:03:50 +02:00
Ferdinand Majerech
126db17eb2
Minor documentation fix.
2011-08-16 18:45:45 +02:00
Ferdinand Majerech
8e2572245f
Improved package targets in cdc, added a zip package target,
...
updated the Getting Started tutorial with a link to D:YAML at
GitHub.
2011-08-16 18:35:27 +02:00
Ferdinand Majerech
283c42bf8f
Initial commit.
2011-08-16 14:53:13 +02:00