2015-12-29 17:38:22 +00:00
|
|
|
# NimYAML - YAML implementation for Nim
|
|
|
|
|
2016-02-16 19:37:01 +00:00
|
|
|
NimYAML is currently being developed. The current release 0.1.0 is not
|
|
|
|
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
|
2016-02-16 19:37:01 +00:00
|
|
|
- Add implementation of YAML document object model, serialize and compose
|
|
|
|
procs
|
2015-12-29 17:38:22 +00:00
|
|
|
* 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-01-05 15:54:14 +00:00
|
|
|
- Support transient fields (i.e. fields that will not be (de-)serialized on
|
|
|
|
objects and tuples)
|
2015-12-29 17:38:22 +00:00
|
|
|
- Use `concept` type class `Serializable` or something
|
2016-01-05 16:00:49 +00:00
|
|
|
- Check for and avoid name clashes when generating local tags for custom
|
|
|
|
object types.
|
|
|
|
- Possibly use `genSym` for predefined and generated `yamlTag` procs because
|
|
|
|
they are an implementation detail and should not be visible to the caller.
|
|
|
|
same goes for `lazyLoadTag` and `safeLoadUri`.
|
2015-12-29 17:38:22 +00:00
|
|
|
|
2016-02-16 10:05:36 +00:00
|
|
|
## Developers
|
|
|
|
|
|
|
|
```bash
|
|
|
|
nim tests # runs all tests
|
|
|
|
nim parserTests # runs parser tests
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|
|
|
|
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)
|