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