HsYAML: Pure Haskell YAML 1.2 parser

[ gpl, library, text ] [ Propose Tags ] [ Report a vulnerability ]

HsYAML is a YAML 1.2 parser implementation for Haskell.

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).

  • 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).

  • 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).

Flags

Manual Flags

NameDescriptionDefault
exe

Enable exe:yaml-test component

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Versions [RSS] 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.1, 0.2.1.2, 0.2.1.3, 0.2.1.4
Change log ChangeLog.md
Dependencies base (>=4.5 && <4.13), bytestring (>=0.9 && <0.11), containers (>=0.4.2 && <0.7), dlist (>=0.8.0.4 && <0.9), fail (>=4.9.0.0 && <4.10), 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]
Tested with ghc ==8.6.1, ghc ==8.4.3, ghc ==8.4.1, ghc ==8.2.2, ghc ==8.0.2, ghc ==7.10.3, ghc ==7.8.4, ghc ==7.6.3, ghc ==7.4.2
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
Revised Revision 2 made by HerbertValerioRiedel at 2018-08-20T07:20:58Z
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 2018-06-30T12:59:47Z
Distributions Arch:0.2.1.3, Debian:0.2.1.0, Fedora:0.2.1.1, LTSHaskell:0.2.1.4, NixOS:0.2.1.4, Stackage:0.2.1.4, openSUSE:0.2.1.4
Reverse Dependencies 16 direct, 217 indirect [details]
Executables yaml-test
Downloads 32205 total (261 in the last 30 days)
Rating 1.5 (votes: 8) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-06-30 [all 1 reports]