A compiler for the Docopt syntax, written in Haskell.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
experiments
src
.gitignore
Docoptc.cabal
LICENSE
README.md
Setup.hs

README.md

DocoptC

Docoptc will be a compiler for the Docopt syntax. Unlike most Docopt implementations, Docoptc is meant to be used during a build to generate command-line arguments parsing code in (potentially) any target language.

I'm writing DocOptC to learn Haskell, so don't expect anything usable anytime soon.

I'm currently planning the following features, in possible order of implementation:

  1. Full support for the DocOpt syntax.

  2. Target Haskell, Python and C

  3. Syntax extensions