simple-parser: Simple parser combinators

[ bsd3, library, parsing ] [ Propose Tags ]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.8.4, 0.9, 0.9.1, 0.10.0, 0.11.0, 0.12.0
Dependencies base (>=4.12 && <5), containers (>=0.6 && <0.7), list-t (>=1.0 && <1.1), mtl (>=2.2 && <2.3), text (>=1.2 && <1.3) [details]
License BSD-3-Clause
Copyright (c) 2020 Eric Conlon
Author Eric Conlon
Maintainer ejconlon@gmail.com
Category Parsing
Home page https://github.com/ejconlon/simple-parser#readme
Bug tracker https://github.com/ejconlon/simple-parser/issues
Source repo head: git clone https://github.com/ejconlon/simple-parser
Uploaded by ejconlon at 2021-03-22T05:58:58Z
Distributions NixOS:0.12.0
Downloads 1226 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-03-22 [all 1 reports]

Readme for simple-parser-0.2.1

[back to package description]

simple-parser

CircleCI

Simple parser combinators following the clever refrain (by Fritz Ruehr?)

A parser for things
Is a function from strings
To lists of pairs
Of things and strings.

In this case, we subsitute ListT for the list and add some error handling. We also swap out strings for any kind of input (streaming or not).