HsYAML: Pure Haskell YAML 1.2 parser

[ gpl, library, text ] [ Propose Tags ]

HsYAML is a YAML 1.2 parser for Haskell.

Features include:

  • Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the YAML 1.2 specification

  • Low-level API access to lexical token-based scanner (Data.YAML.Token)

  • Event-based API resembling LibYAML's Event-based API (Data.YAML.Event)

  • Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures)

  • Direct decoding via typeclass-based API similiar to aeson (Data.YAML)

  • Support for Failsafe, JSON and Core schemas as defined in the YAML 1.2 specification (including support for user-defined custom schemas)


Manual Flags


Enable exe:yaml-test component


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


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

Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS],,,,,,,,
Dependencies base (>=4.5 && <4.12), bytestring (>=0.9 && <0.11), containers (>=0.4.2 && <0.6), dlist (>= && <0.9), mtl (>=2.2.1 && <2.3), parsec (>= && <3.2), text (>=1.2.3 && <1.3) [details]
License GPL-3.0-only
Copyright 2015-2018 Herbert Valerio Riedel , 2007-2008 Oren Ben-Kiki
Author Herbert Valerio Riedel
Maintainer hvr@gnu.org
Revised Revision 1 made by HerbertValerioRiedel at 2018-08-20T07:20:55Z
Category Text
Home page https://github.com/hvr/HsYAML
Source repo head: git clone https://github.com/hvr/HsYAML.git
Uploaded by HerbertValerioRiedel at 2018-06-04T13:19:12Z
Distributions Arch:, Debian:, Fedora:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Executables yaml-test
Downloads 26968 total (240 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-04 [all 1 reports]