D:YAML 0.4 released

Jonathan M Davis jmdavisProg at gmx.com
Thu Jul 26 11:49:13 PDT 2012


On Monday, January 23, 2012 20:55:10 Kiith-Sa wrote:
> I've released D:YAML 0.4 . This release brings mostly updates to
> keep compatibility with DMD 2.057 and bugfixes (in particular,
> compilation on 32bit
> works now). The constructor API has also been simplified.
> 
> Any custom YAML types (structs and classes serialized directly
> from/to YAML
> nodes) now need to define the opCmp operator. This is used to
> detect duplicates and will be used for faster access to data in
> unordered maps in future. (AAs were used previously, but caused
> bugs) If this turns out to be too
> impractical, and if Phobos gets a usable hash map, I might use
> that in future -
> which would still require toHash and opEquals, though.
> 
> API documentation, tutorials and examples were updated to reflect
> the changes,
> and slightly improved.
> 
> See CHANGES.txt in the source package for detailed information.
> 
> 
> Again, the API is unstable and might change in future.

Thanks for doing this! I need a YAML parser for one of my projects and was 
expecting to have to write one (which I was actually kind of looking forward 
to doing, since I like writing parsers, but I'm kind of short on time, so 
having to write one _is_ a bit problematic). This will save me time.

- Jonathan M Davis


More information about the Digitalmars-d-announce mailing list