An open API service indexing awesome lists of open source software.

https://github.com/thblt/docoptc

A compiler for the Docopt syntax, written in Haskell.
https://github.com/thblt/docoptc

Last synced: 12 months ago
JSON representation

A compiler for the Docopt syntax, written in Haskell.

Awesome Lists containing this project

README

          

# DocoptC

Docoptc will be a compiler for the [Docopt syntax](http://docopt.org/). 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](https://github.com/thblt/docoptc/blob/master/doc/DesignNotes.org)