2015-12-28 22:22:51 +01:00
|
|
|
# NimYAML - YAML implementation in Nim
|
|
|
|
# (c) Copyright 2015 Felix Krause
|
|
|
|
#
|
|
|
|
# See the file "copying.txt", included in this
|
|
|
|
# distribution, for details about the copyright.
|
|
|
|
|
2015-12-27 21:36:47 +01:00
|
|
|
## This module provides facilities to generate and interpret
|
|
|
|
## `YAML <http://yaml.org>`_ character streams. All primitive operations on
|
2015-12-27 23:40:27 +01:00
|
|
|
## data objects use a `YamlStream <#YamlStream>`_ either as source or as
|
|
|
|
## output. Because this stream is implemented as iterator, it is possible to
|
|
|
|
## process YAML input and output sequentially, i.e. without loading the
|
|
|
|
## processed data structure completely into RAM. This supports the processing of
|
|
|
|
## large data structures.
|
2015-12-27 21:36:47 +01:00
|
|
|
##
|
|
|
|
## As YAML is a strict superset of `JSON <http://json.org>`_, JSON input is
|
2016-02-02 18:19:40 +01:00
|
|
|
## automatically supported. While JSON is less readable than YAML,
|
2015-12-27 21:36:47 +01:00
|
|
|
## this enhances interoperability with other languages.
|
|
|
|
|
2016-09-20 21:53:38 +02:00
|
|
|
import yaml.common, yaml.dom, yaml.hints, yaml.parser, yaml.presenter,
|
|
|
|
yaml.serialization, yaml.stream, yaml.taglib, yaml.tojson
|
|
|
|
export yaml.common, yaml.dom, yaml.hints, yaml.parser, yaml.presenter,
|
|
|
|
yaml.serialization, yaml.stream, yaml.taglib, yaml.tojson
|