YAML implementation for Nim https://nimyaml.org
Go to file
Felix Krause 48aeff20c0 Use variant object types for heterogeneous data
* Made variant object types work (really this time)
 * Added `markAsImplicit`
 * Implemented implicit variant object types
 * Added documentation
2016-06-05 19:29:16 +02:00
bench Added benchmark for processing YAML input 2016-03-20 10:32:14 +01:00
doc Use variant object types for heterogeneous data 2016-06-05 19:29:16 +02:00
private Use variant object types for heterogeneous data 2016-06-05 19:29:16 +02:00
server Made server output syntax-highlighted YAML 2016-05-12 15:35:29 +02:00
test improved setTagUri 2016-04-21 18:58:53 +02:00
.gitignore Added benchmark for processing YAML input 2016-03-20 10:32:14 +01:00
CHANGELOG.md Version 0.4.0 2016-03-25 23:20:17 +01:00
README.md Check for duplicate tag URIs at compile time 2016-04-09 21:54:49 +02:00
config.nims Switched to indentation of 2 spaces 2016-04-02 17:48:22 +02: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 Version 0.4.0 2016-03-25 23:20:17 +01:00
yaml.nim Use variant object types for heterogeneous data 2016-06-05 19:29:16 +02:00

README.md

NimYAML - YAML implementation for Nim

NimYAML is currently being developed. The current release 0.4.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)

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