News for hackers. Stuff that matters.
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 :)
Re:Underscore.js: Annotated Source Code by sant0sk1 on Thursday October 07, 2010 @10:29AM (#1767925)
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):

http://visionmedia.github.com/dox/

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].

-----

[1]: http://news.ycombinator.com/item?id=1767758