simple-parser: Simple parser combinators

[ bsd3, library, parsing ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/ejconlon/simple-parser#readme


[Skip to Readme]
Versions [RSS] [faq] 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
Dependencies base (>=4.12 && <5), containers (==0.6.*), list-t (==1.0.*), mmorph (==1.1.*), mtl (==2.2.*), text (==1.2.*) [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-22T19:18:32Z
Distributions NixOS:0.8.2
Downloads 696 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-03-22 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


Readme for simple-parser-0.2.2

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