multiarg: Combinators to build command line parsers

[ bsd3, console, library, parsing ] [ Propose Tags ] [ Report a vulnerability ]

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 Parser, a monad you use to build parsers. This monad exposes multiarg's full functionality. The library 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.


[Skip to Readme]

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 ChangeLog
Dependencies base (>=4.5.0.0 && <5), bifunctors (>=0.1.3.1), containers (>=0.4.2.1) [details]
Tested with ghc ==7.4.1, ghc ==7.6.3
License BSD-3-Clause
Copyright 2011-2013 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 2014-03-01T20:17:30Z
Distributions LTSHaskell:0.30.0.10, Stackage:0.30.0.10
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 19227 total (95 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]

Readme for multiarg-0.26.0.0

[back to package description]

Multiarg

This is multiarg, a library of combinators to parse command lines.

For "released" code see Hackage:

http://hackage.haskell.org/package/multiarg

multiarg is on Github:

http://www.github.com/massysett/multiarg

Versioning

multiarg releases are numbered in accordance with the Haskell Package Versioning Policy.

multiarg does not set its dependencies in accordance with the Package Versioning Policy, as I do not set upper bounds. multiarg is guaranteed to build with the minimum versions specified in the cabal file. I also include a current-versions.txt file that documents more recent dependencies that are also known to work.

If you find that multiarg does not build due to dependency problems:

  1. please let me know at omari@smileystation.com; 2) feel free to add appropriate upper bounds or patches to the package as appropriate; and 3) feel free to add command-line contraints to your cabal command to get it to build.