* Replaced all assert statements with yAssert, which prints an error message
and quits on failure, but does nothing when compiling with -d:release.
* Implemented and used internalError for better discovery of internal bugs.
Fixes#8.
* Made RawYamlStream able to raise YamlStreamError, which might primarily be
useful for user-defined serialization
* Properly encapsulate RangeError coming from int/uint serialization on 64bit
machines in YamlStreamError.
* Some minor style improvements
* fieldPairs() already handles variant objects fine. decided not to
go further along the way of identifying object variants by their
discriminants in tag URIs.
* variant objects are now supported just like normal objects.
* renamed setTagUriForType to setTagUri
* generated TagId is now const (can be used in case etc)
* Uses compile-time counter independent from tag library
* Fixed a parser bug that got confused when looking for an implicit
map key in a plain scalar that contains &, * or !
* Added OutputYamlVersion to PresentationOptions
* Renamed some symbols for consistency, fixes#6:
- yamlStartSequence -> yamlStartSeq
- yamlEndSequence -> yamlEndSeq
- yamlStartDocument -> yamlStartDoc
- yamlEndDocument -> yamlEndDoc
- yTagMap -> yTagMapping
* Improved code formatting at some places
* Fixed code documentation at some places
* Added generic objects to TODO list
* Removed obsolete parsing tests, these are superseeded
by yaml-dev-kit test suite integration
* Added PresentationOptions object; merged PresentationStyle,
indentationStep and NewLineStyle in it
* Updated signatures of relevant procs
* Implemented user-defined newline style in presenter
* Some typo fixes in code
* nim documentation now generates API doc with source links
* presenter now uses "" if a string starts with @ or `
* Removed some outdated stuff
* Added raises pragma to every proc in yaml.nim
* Properly encapsulate exceptions from YamlStreams
* Discovered a Nim compiler bug and added a workaround
* Added possibility to query line, column and line content from
YamlParser
* Updated rst documentation
* Actually call callback in fastparse if available
* Fixed parsing YAML version
* fastparse now used for everything
* private/[lexer|parser].nim gone
* Made fastparse use YamlParser object
* Got all tests working with fastparse
* Some more smaller changes to API
* Made TagLibrary a ref object
* Started writing fastparse.nim, a parser aimed to deliver
much faster speeds than the current implementation. It
currently is only able to parse block content
* Added YamlPresenter*Error exceptions
* Added raises pragma to present()
* catch exceptions from YamlStream and Stream in present() and
put them as cause into YamlPresenter*Error
* Added loadToJson() proc
* Give "~" the type hint yTypeNull
* Always output "null" for yTagNull/yTypeNull scalars when
presenter is in JSON mode