[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: try..catch for Lua 5.2?
- From: Pierre LeMoine <yarr.luben@...>
- Date: Mon, 13 Sep 2010 10:19:43 +0200
On 11 September 2010 11:57, steve donovan <steve.j.donovan@gmail.com> wrote:
> Hi all,
>
> This has certainly been discussed before, e.g a patch:
>
> http://lua-users.org/lists/lua-l/2008-01/msg00654.html
>
> and also by Metalua, etc.
>
> We have a perfectly decent exception mechanism, but it is awkward to
> use. So could at least we have some syntactical sugar over the pcall
> mechanism?
>
> steve d.
>
>
The ternary operator thread seems to attract a lot of interest, but i
think that a more elaborate error system is way more important. And i
wouldn't mind seeing finalizers either.
/Pierre