2015-12-29 17:38:22 +00:00
|
|
|
# NimYAML - YAML implementation for Nim
|
|
|
|
|
2016-03-14 17:23:55 +00:00
|
|
|
NimYAML is currently being developed. The current release 0.3.0 is not
|
2016-02-16 19:37:01 +00:00
|
|
|
considered stable. See [the documentation](http://flyx.github.io/NimYAML/) for
|
|
|
|
an overview of already available features.
|
2015-12-29 17:38:22 +00:00
|
|
|
|
|
|
|
## TODO list
|
|
|
|
|
2016-01-24 19:38:30 +00:00
|
|
|
* Misc:
|
2015-12-29 17:38:22 +00:00
|
|
|
- Add type hints for more scalar types
|
|
|
|
* Serialization:
|
|
|
|
- Support for more standard library types
|
2016-02-01 19:16:35 +00:00
|
|
|
- Support polymorphism
|
2015-12-29 17:54:24 +00:00
|
|
|
- Support variant objects
|
2016-03-14 17:10:34 +00:00
|
|
|
- Support generic objects
|
2016-01-05 15:54:14 +00:00
|
|
|
- Support transient fields (i.e. fields that will not be (de-)serialized on
|
|
|
|
objects and tuples)
|
2016-01-05 16:00:49 +00:00
|
|
|
- Check for and avoid name clashes when generating local tags for custom
|
|
|
|
object types.
|
2015-12-29 17:38:22 +00:00
|
|
|
|
2016-02-16 10:05:36 +00:00
|
|
|
## Developers
|
|
|
|
|
|
|
|
```bash
|
2016-03-14 17:10:34 +00:00
|
|
|
nim tests # runs unit tests (serialization, dom, json)
|
|
|
|
# for parser tests, see yamlTestSuite
|
2016-02-16 10:05:36 +00:00
|
|
|
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
|
2016-03-04 18:10:48 +00:00
|
|
|
nim yamlTestSuite # execute YAML test suite (git-clones yaml-dev-kit)
|
2016-02-16 10:05:36 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Project is tested against current develop branch of Nim. Older Nim versions
|
|
|
|
probably do not work.
|
|
|
|
|
2015-12-29 17:38:22 +00:00
|
|
|
## License
|
|
|
|
|
2016-02-16 10:05:36 +00:00
|
|
|
[MIT](copying.txt)
|