[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua IPython Kernel
- From: Coroutines <coroutines@...>
- Date: Wed, 27 Aug 2014 23:58:18 -0700
On Wed, Aug 27, 2014 at 11:53 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> Neutral: Some of IPython's convenience comes from Python
> conventions we do not yet have in Lua, in particular its docstring.
hmm.
docstring = function (f, description) docstring_table[f] = description end
debug.setmetatable(function () end, { __tostring = function (self)
return rawstring(self), docstring_table[self] end }) -- or something
fun...