docopt.c icon indicating copy to clipboard operation
docopt.c copied to clipboard

C-code generator for docopt language.

Results 17 docopt.c issues
Sort by recently updated
recently updated
newest added

Generating code using the "Naval Fate" example produces broken header. Line 97 & 98. ``` struct DocoptArgs { /* commands */ size_t create; size_t mine; size_t move; size_t remove; size_t...

Please strip out the old Python parts from the README, so that developers can focus on how to use the C API.

There is a small typo in log.h. Should read `debugging` rather than `debuging`.

I would like my changes to support positional arguments (Issue #32) to be considered for merging. The naval fate example now works with options before or after the positional arguments.

It is currently not possible to use an option or command name that happesn to be a C keyword. So for example trying to have a command named "register" will...

I tried docopt.c for the first time today. Running the example doesn't work, for example, see the following output: ``` $ ./example ship test move 4 5 --speed=20 Commands mine...

I think this would be a little more convenient to use if it generated a header file with just `DocoptArgs` and `docopt()`. The use case for this would be a...

Could doctopt provide a more typical C-style library, instead of a code generator? I would like to be able to `#include "docopt.h"`, `gcc -ldocopt`, etc.

Hey guys, (did not find a better way than to write just here, since you do not have any maillist) I was highly inspired by the docopt idea in general,...

The following (taken from the README) encourages using cat when redirections would be more appropriate and (marginally) faster: ```shell $ cat example.docopt | python docopt_c.py > docopt.c ``` A functionally...