docopt / docopt.tcl

docopt.org for TCL
4 stars 1 forks source link

Be part of `docopt` organization on github #1

Open keleshev opened 11 years ago

keleshev commented 11 years ago

Hi, I just noticed your port, good work! When do you plan to finish it? Would you like to be part of docopt organization?

arthurschreiber commented 11 years ago

Hey there! I could go ahead and spend some time this weekend on finishing this, getting added to the docopt organization sounds nice. :grinning:

keleshev commented 11 years ago

Great, I just added you to the organization. You can move your repo over now.

Did you know there is a set of language-agnostic tests for docopt?

Also, if you have any trouble understanding the python source you can write me at vladimir@keleshev.com or halst. on skype.

Happy coding!

arthurschreiber commented 11 years ago

I took a look at the language agnostic tests. They're nice, but will be hard to actually use with the tcl implementation. There's no way to just dump out a json string from tcl, as in tcl everything is a string (even dicts and lists), so no automatic serialization is possible.:(

shabbyrobe commented 11 years ago

Could you use an intermediary parsing/jsonning step? Alternately, could we tweak the language_agnostic_tester.py script to work with a different string format?

arthurschreiber commented 11 years ago

I'll see what I can do.

shabbyrobe commented 11 years ago

Is there anything I can do to help? I've been getting my hands dirty on the tester the last few days. I've done two of the other ports (Ruby and PHP) and I couldn't have done it nearly as quickly without the tester.

arthurschreiber commented 11 years ago

Hey all, I'm still alive. :smile:

As Tcl 8.6 has been release some while ago and offers some form of object-orientation in the core, I started to rewrite the port for 8.6. I'll ping you again as soon as I've got something up and running.

keleshev commented 11 years ago

Great, can't wait to see it. Btw, I don't know much about Tcl, but won't such a cutting edge version limit your user base?

arthurschreiber commented 11 years ago

That might be true, but basically noone is using Tcl anyway, so I'm not concerned about the userbase. :laughing: Having an implementation that works for older Tcl versions would be nice, but I'd rather have a version that works at all first. And porting docopt is a lot easier if you can atleast kinda base the implementation on the reference implementation in Python.

shadowbq commented 8 years ago

So no one uses tcl.. even poor people who need exe compiled expect tcl scripting in windows? Having docopts work with my ActiveTCL would be nice.. especially if this was available via teacup

C:\Tcl\bin>teacup search docopt 0 entities found