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

Clojure implementation of the docopt language.

Results 4 docopt.clj issues
Sort by recently updated
recently updated
newest added

Fix issue when docstring passed as first argument explicitly - parse function fails on (string? doc) assert It happens due to the fact that passed `doc` variable at compile time...

I'm not sure if it's a good idea to expose so much functionality: - `docopt.core.docopt` - `docopt.core.match` - `docopt.core.parse` I can understand that compile-time/run-time parsing could be a trade-off, but...

This is due to http://dev.clojure.org/jira/browse/CLJ-1405 When that is fixed you may want to move to the latest clojure release (then again why isn't there a native java implementation?)

Using lein 2.2.0, clojure 1.5.1 on Windows when I try to use (docopt args) I receive an error that a docstring on -main could not be found. (The assert string?...