HsYAML: Pure Haskell YAML 1.2 processor
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
HsYAML
is a YAML 1.2 processor, i.e. a library for parsing and serializing YAML documents.
Features of HsYAML
include:
Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the YAML 1.2 specification.
Direct decoding to native Haskell types via (
aeson
-inspired) typeclass-based API (see Data.YAML).Allows round-tripping while preserving ordering, anchors, and comments at Event-level.
Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures).
Support for the standard (untyped) Failsafe, (strict) JSON, and (flexible) Core "schemas" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see Data.YAML.Schema).
Support for emitting YAML using Failsafe, (strict) JSON, and (flexible) Core "schemas" (including support for user-defined custom encoding schemas; see Data.YAML.Schema).
Event-based API resembling LibYAML's Event-based API (see Data.YAML.Event).
Low-level API access to lexical token-based scanner (see Data.YAML.Token).
See also the HsYAML-aeson package which allows to decode and encode YAML by leveraging aeson
's FromJSON
and ToJSON
instances.
Properties
Versions | 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.2.0, 0.2.0.0, 0.2.1.0, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.1.3, 0.2.1.4 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.5 && <4.14), bytestring (>=0.9 && <0.11), containers (>=0.4.2 && <0.7), deepseq (>=1.3.0 && <1.5), fail (>=4.9.0.0 && <4.10), ghc-prim, mtl (>=2.2.1 && <2.3), nats (>=1.1.2 && <1.2), parsec (>=3.1.13.0 && <3.2), text (>=1.2.3 && <1.3) [details] |
License | GPL-2.0-only[multiple license files] |
Copyright | 2015-2018 Herbert Valerio Riedel , 2007-2008 Oren Ben-Kiki |
Author | Herbert Valerio Riedel |
Maintainer | hvr@gnu.org |
Category | Text |
Home page | https://github.com/hvr/HsYAML |
Bug tracker | https://github.com/hvr/HsYAML/issues |
Source repo | head: git clone https://github.com/hvr/HsYAML.git |
Uploaded | by HerbertValerioRiedel at 2019-10-06T14:46:00Z |
Modules
[Index] [Quick Jump]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
exe | Enable | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- HsYAML-0.2.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees