On 08/23/2010 05:58 PM, Nick Fitzgerald wrote:
Hi,
Would it make sense to use declaim/declare to give the Closure compiler hints? [...]
This seems like a good alternative to docstrings in general and seems more appropriate.
This seems like maybe it is too specific to be a part of ParenScript on the whole though...
Hmm. Maybe there should be support in parenscript for variable and function docstrings only. A separate library could provide declare, which would just produce closure-compatible annotations as a docstring.
Any pointers on where to start implementing docstrings in parenscript? Thanks!
Cheers, Bastian