YAML implementation for Nim
Other
Permalink
Failed to load latest commit information.
bench Fixed a GC problem; improved bench & tojson Sep 30, 2016
doc Testing Ground uses HTTPS now Nov 30, 2016
private Fix for previous fix Dec 13, 2016
server
test
tools
yaml
.gitignore Updated tests to use yaml-test-suite repo url Dec 12, 2016
.travis.yml Separated test suites for travis Oct 9, 2016
CHANGELOG.md Added testSuiteEvents tool Jan 9, 2017
README.md Integrated parser and quickstart tests Oct 9, 2016
config.nims Added testSuiteEvents tool Jan 9, 2017
copying.txt Added copyright Dec 28, 2015
nimdoc.cfg
yaml.nim
yaml.nimble Version 0.9.0 Dec 15, 2016

README.md

NimYAML - YAML implementation for Nim

Build Status

NimYAML is a pure Nim YAML implementation without any dependencies other than Nim's standard library. It enables you to serialize Nim objects to a YAML stream and back. It also provides a low-level event-based API, and a document object model which you do not want to use because serializing to native types is much more awesome.

Documentation, examples and an online demo are available here. Releases are available as tags in this repository and can be fetched via nimble:

nimble install yaml

Features that may come in the future

  • Serialization:
    • Support for more standard library types
    • Support for polymorphism
    • Support for generic objects
    • Support for transient fields (i.e. object fields that will not be (de-)serialized

Developers

nim tests # runs all tests
nim lexerTests # run lexer tests
nim parserTests # run parser tests (git-clones yaml-dev-kit)
nim serializationTests # runs serialization tests
nim quickstartTests # run tests for quickstart snippets from documentation
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

NimYAML needs at least Nim 0.15.0 in order to compile.

License

MIT