multiarg: Combinators to build command line parsers

[ bsd3, console, library, parsing ] [ Propose Tags ]

multiarg is a parser combinator library to build command line parsers. With it you can easily create parsers with options that take more than one option argument--for example, I created multiarg due to the apparent lack of such ability amongst other parsers. Its basic design is loosely inspired by Parsec.

Provides ParserT, a monad you use to build parsers. ParserT is a monad transformer, so you can layer it on top of other monads. For instance you could layer it on the IO monad so that your parser can perform IO.

It also has a simple, pre-built parser built with the underlying combinators, which works for many situtations and shields you from the underlying complexity if you don't need it.

See the documentation in the System.Console.MultiArg module for details.

Flags

Automatic Flags
NameDescriptionDefault
newbase

Builds package with base >= 4.4.0.0.

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.4.0.0, 0.6.0.0, 0.8.0.0, 0.10.0.0, 0.12.0.0, 0.12.0.2, 0.14.0.0, 0.16.0.0, 0.18.0.0, 0.20.0.0, 0.22.0.0, 0.24.0.0, 0.24.0.2, 0.24.0.4, 0.26.0.0, 0.28.0.0, 0.30.0.0, 0.30.0.2, 0.30.0.4, 0.30.0.6, 0.30.0.8, 0.30.0.10
Change log NEWS
Dependencies base (>=4 && <5), containers (>=0.4 && <0.5), explicit-exception (>=0.1 && <0.2), text (>=0.11 && <0.12), transformers (>=0.2 && <0.3), utf8-string (==0.3.7) [details]
License MIT
Copyright 2011-2012 Omari Norman.
Author Omari Norman
Maintainer omari@smileystation.com
Category Console, Parsing
Home page https://github.com/massysett/multiarg
Bug tracker omari@smileystation.com
Source repo head: git clone git://github.com/massysett/multiarg.git
Uploaded by OmariNorman at 2012-04-02T19:52:38Z
Distributions LTSHaskell:0.30.0.10, Stackage:0.30.0.10
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 18823 total (65 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]