YAML implementation for Nim https://nimyaml.org
Go to file
Felix Krause a51befe30d Improved float parsing
* Fixed #30
 * Accept underscores in float literals
 * Added test
2016-11-10 10:12:32 +01:00
bench Fixed a GC problem; improved bench & tojson 2016-09-30 19:35:43 +02:00
doc Documented !!timestamp 2016-11-08 21:15:14 +01:00
private More improvements to lexer 2016-09-30 20:12:17 +02:00
server Made server.nim compile against Nim 0.15.0 2016-10-01 14:49:32 +02:00
test Improved float parsing 2016-11-10 10:12:32 +01:00
yaml Improved float parsing 2016-11-10 10:12:32 +01:00
.gitignore Generate testing.html with rst 2016-10-27 18:57:32 +02:00
.travis.yml Separated test suites for travis 2016-10-09 16:10:11 +02:00
CHANGELOG.md Version 0.8.0 2016-11-08 21:29:59 +01:00
README.md Integrated parser and quickstart tests 2016-10-09 15:05:18 +02:00
config.nims Documentation update 2016-11-01 12:40:53 +01:00
copying.txt Added copyright 2015-12-28 22:22:51 +01:00
nimdoc.cfg Documentation update 2016-11-01 12:40:53 +01:00
yaml.nim doc link fixes 2016-10-01 15:19:42 +02:00
yaml.nimble Version 0.8.0 2016-11-08 21:29:59 +01:00

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