You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm dumping my thoughts here on how this would work.
If this were to happen, aside from translating most of the logic from Python to C, the struct would also have to be changed to some sort of map. It looks like almost everywhere else, you can substitute code generation with some for loops (e.g. with a list of possible options). For default arguments, that would probably also have to be a map.
Aside from those, the rest of the work would really come from parsing the docopt file.
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.The text was updated successfully, but these errors were encountered: