YAML implementation for Nim https://nimyaml.org
Go to file
Felix Krause e45eb7b514 Fixed some bugs
* Ensure that no event is yielded twice at explicit document end
 * Properly handle indentation when comment occurs in a line before the
   start of the node
 * Allow multiline implicit map keys in flow map
2016-03-19 15:54:19 +01:00
bench Fixed problem with JSON handling. 2016-02-27 14:33:13 +01:00
doc Fixed link in generated documentation 2016-02-25 22:34:23 +01:00
private Fixed some bugs 2016-03-19 15:54:19 +01:00
server Made server compile again 2016-02-26 22:12:15 +01:00
test Fixes to block scalars and yamlTestSuite 2016-03-18 22:29:35 +01:00
.gitignore Added option to validate against YAML test suite 2016-03-04 19:10:48 +01:00
CHANGELOG.md Version 0.3.0 2016-03-14 18:41:20 +01:00
README.md Version 0.3.0 2016-03-14 18:41:20 +01:00
config.nims code style: use compact blocks where possible 2016-03-17 19:30:40 +01:00
copying.txt Added copyright 2015-12-28 22:22:51 +01:00
nimdoc.cfg Fixed link in generated documentation 2016-02-25 22:34:23 +01:00
nimyaml.nimble Forgot to update nimble version to 0.3.0, did this. 2016-03-19 11:22:09 +01:00
yaml.nim Various code style and naming fixes 2016-03-14 18:10:34 +01:00

README.md

NimYAML - YAML implementation for Nim

NimYAML is currently being developed. The current release 0.3.0 is not considered stable. See the documentation for an overview of already available features.

TODO list

  • Misc:
    • Add type hints for more scalar types
  • Serialization:
    • Support for more standard library types
    • Support polymorphism
    • Support variant objects
    • Support generic objects
    • Support transient fields (i.e. fields that will not be (de-)serialized on objects and tuples)
    • Check for and avoid name clashes when generating local tags for custom object types.

Developers

nim tests # runs unit tests (serialization, dom, json)
          # for parser tests, see yamlTestSuite
nim serializationTests # runs serialization tests
nim documentation # builds documentation to folder docout
nim server # builds the REST server used for the testing ground
nim bench # runs benchmarks, requires libyaml
nim clean # guess
nim build # build a library
nim yamlTestSuite # execute YAML test suite (git-clones yaml-dev-kit)

Project is tested against current develop branch of Nim. Older Nim versions probably do not work.

License

MIT