regex-applicative: Regex-based parsing with applicative interface

[ library, mit, text ] [ Propose Tags ]

regex-applicative is a Haskell library for parsing using regular expressions. Parsers can be built using Applicative interface.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.2, 0.2.1, 0.3, 0.3.0.1, 0.3.0.2, 0.3.0.3, 0.3.1, 0.3.2, 0.3.2.1, 0.3.3, 0.3.3.1, 0.3.4
Change log CHANGES.md
Dependencies base (<5), containers, transformers [details]
License MIT
Author Roman Cheplyaka
Maintainer Roman Cheplyaka <roma@ro-che.info>
Category Text
Home page https://github.com/feuerbach/regex-applicative
Source repo head: git clone git://github.com/feuerbach/regex-applicative.git
this: git clone git://github.com/feuerbach/regex-applicative.git(tag v0.3.0.1)
Uploaded by RomanCheplyaka at 2013-10-21T08:05:04Z
Distributions Arch:0.3.4, Debian:0.3.3.1, Fedora:0.3.4, FreeBSD:0.3.2.1, LTSHaskell:0.3.4, NixOS:0.3.4, Stackage:0.3.4
Reverse Dependencies 25 direct, 18 indirect [details]
Downloads 28367 total (169 in the last 30 days)
Rating 2.5 (votes: 4) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]

Readme for regex-applicative-0.3.0.1

[back to package description]

regex-applicative

regex-applicative is aimed to be an efficient and easy to use parsing combinator library for Haskell based on regular expressions.

Perl programmers often use regular expressions for parsing, even if it is not an appropriate tool for the job, because Perl has so good support for regexps.

The opposite seems to be valid about Haskell programmers -- they use parsing combinators (which recognize context-free or even context-sensitive grammars), even when the language is actually regular!

Hopefully, this library will improve the situation.

Installation

Install this library using cabal-install tool:

cabal update
cabal install regex-applicative

Documentation

The API reference is available from Hackage.

To get started, see some examples on the wiki.

Other resources