lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2011/2/25 Pierre-Yves Gérardy <pygy79@gmail.com>:
> Just the block comment, its associated reflection functionality? (For
> those unfamiliar, you can access the docstring of a function from
> python code at runtime).

I appreciate that this is cool for exploratory programming, but the
same effect could be achieved without having to actually intern all
those strings.  By using debug information, a shell would know where a
function was defined and could dynamically extract marked comments
from the source.

steve d.