Personal tools

Command line option parsers

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(list of packages taken from Tutorials/Programming Haskell/Argument handling)
 
(convert package list to table)
Line 1: Line 1:
 
There are several packages that want to simplify the task of writing command line parsers. Unfortunately, they are distributed across several Hackage categories. Here is an attempt to list them:
 
There are several packages that want to simplify the task of writing command line parsers. Unfortunately, they are distributed across several Hackage categories. Here is an attempt to list them:
   
* {{HackagePackage|id=cmdargs}}
+
{| class="wikitable"
* {{HackagePackage|id=cmdlib}}
+
|-
* {{HackagePackage|id=cmdtheline}}
+
! Package !! Multi-mode !! Extensions !! Remark
* {{HackagePackage|id=console-program}}
+
|-
* {{HackagePackage|id=getflag}}
+
| {{HackagePackage|id=cmdargs}} || X || ? || <hask>unsafePerformIO</hask>
* {{HackagePackage|id=hflags}}
+
|-
* {{HackagePackage|id=multiarg}}
+
| {{HackagePackage|id=cmdlib}}
* {{HackagePackage|id=options}}
+
|-
* {{HackagePackage|id=optparse-applicative}}
+
| {{HackagePackage|id=cmdtheline}}
* {{HackagePackage|id=parseargs}}
+
|-
* {{HackagePackage|id=ReadArgs}}
+
| {{HackagePackage|id=console-program}}
* {{HackagePackage|id=simpleargs}}
+
|-
* {{HackagePackage|id=yaop}}
+
| {{HackagePackage|id=getflag}}
  +
|-
  +
| {{HackagePackage|id=hflags}}
  +
|-
  +
| {{HackagePackage|id=multiarg}}
  +
|-
  +
| {{HackagePackage|id=options}}
  +
|-
  +
| {{HackagePackage|id=optparse-applicative}}
  +
|-
  +
| {{HackagePackage|id=parseargs}}
  +
|-
  +
| {{HackagePackage|id=ReadArgs}}
  +
|-
  +
| {{HackagePackage|id=simpleargs}}
  +
|-
  +
| {{HackagePackage|id=yaop}}
  +
|}
   
 
[[Category:Packages]]
 
[[Category:Packages]]

Revision as of 17:12, 7 November 2012

There are several packages that want to simplify the task of writing command line parsers. Unfortunately, they are distributed across several Hackage categories. Here is an attempt to list them:

Package Multi-mode Extensions Remark
cmdargs X  ?
unsafePerformIO
cmdlib
cmdtheline
console-program
getflag
hflags
multiarg
options
optparse-applicative
parseargs
ReadArgs
simpleargs
yaop