[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Another take on <close> - or defer-ring instead
- From: Dibyendu Majumdar <mobile@...>
- Date: Sun, 6 Oct 2019 18:46:09 +0100
On Sun, 6 Oct 2019 at 01:52, Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
> BTW syntax of defer could be simplified by omitting the 'function()'.
>
This is now committed. So we can simply write:
function x()
defer print('exited') end
end
Credit for this idea goes to Daurnimator:
http://lua-users.org/lists/lua-l/2019-06/msg00280.html
> The JIT backends are not yet fully updated.
>
> Anyway, if anyone wants to try out, the branch is 'defer'.
>
> https://github.com/dibyendumajumdar/ravi/tree/defer
>