[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Squirrel?
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 15 Aug 2011 10:44:40 +0200
On Mon, Aug 15, 2011 at 10:24 AM, Eike Decker <firstname.lastname@example.org> wrote:
> It would be really cool if Lua provided a way to handle stack
> unwinding so that one can create transaction objects that either
> commit or rollback depending on what is happening.
It would be cool. There have been a number of proposals that do exactly that
However, I'm sure it can be done reasonably efficiently in the
language with pcall() and closures.