Re:Underscore.js: Annotated Source Code
by lux on Thursday October 07, 2010 @10:23AM
(#1767897)
I'd love to know if there's a lib for generating annotations like this from source comments. I've always loved docs tha include the code for reference, helps to see what's actually going on :)
[ Parent
| on HN ]
Re:Underscore.js: Annotated Source Code
by jashkenas on Thursday October 07, 2010 @10:31AM
(#1767934)
Docco is CoffeeScript/JavaScript, Rocco is Ruby, Shocco is Shell, and there's one more (that I know of) ... Pycco for Python:
http://github.com/fitzgen/pycco
And a first cousin, once removed: Dox (JavaScript):
Re:Underscore.js: Annotated Source Code
by jacobolus on Thursday October 07, 2010 @03:21PM
(#1769084)
Dox seems to just be explicitly marked documentation, not every comment.
Pycco claims to support Python, Ruby, JavaScript, CoffeeScript, Scheme, and Lua.
Re:Underscore.js: Annotated Source Code
by shawndumas on Thursday October 07, 2010 @10:43AM
(#1767976)
I just submitted one earlier this morning[1].
-----