docopt / docopt.c

C-code generator for docopt language.
MIT License
318 stars 46 forks source link

Fix for Issue #32 arguments not working #41

Open jkcko opened 6 years ago

jkcko commented 6 years ago

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.

SamuelMarks commented 4 years ago

@jkcko Looks like this is unmaintained… I've added support for C89 and a few minor linting improvements: https://github.com/offscale/docopt.c/tree/c

Would love to merge your changes đŸ˜„

jkcko commented 4 years ago

@jkcko Looks like this is unmaintained… I've added support for C89 and a few minor linting improvements: https://github.com/offscale/docopt.c/tree/c

Would love to merge your changes smile

@SamuelMarks Looks like that last merge was back on Sep 26, 2016. Looks like the maintainer has disappeared and that's unfortunate. Perhaps there just wasn't enough interest in the C version of docopt. Did you merge my changes to your own fork and try them yourself?

SamuelMarks commented 4 years ago

Unfortunately I only just found your PR… happy to accept new PRs to my fork

There are a few new features I've added, and a bunch more I have planned. The C89 support was a little finicky, but now that is valid also.

Yeah, it's annoying that @kblomqvist @ffunenga and @keleshev disappeared :\