[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaJIT Roadmap 2011
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 25 Jan 2011 15:24:21 +0200
On Tue, Jan 25, 2011 at 1:11 PM, Alexander Gladysh <agladysh@gmail.com> wrote:
> BTW, @line construct seems to be way out of Lua style. I'm lost at how
> should it look to fit to the Lua philosophy better...
Yes, it's very C-ish, that sudden break into a different level
(lexical) in the midst of a clean modern language. (Imagine how
embarrassed Roberto would be having to explain that next time the
language designers all get together to have a beer)
Can write it as a pseudo-function, line(42), but it does work at the
lexical level.
How about clever custom error hooks? If the line number map was Lua
data and loaded, then it surely it could be done?
steve d.
- References:
- [ANN] LuaJIT Roadmap 2011, Mike Pall
- Re: [ANN] LuaJIT Roadmap 2011, dcharno
- Re: [ANN] LuaJIT Roadmap 2011, Petri Häkkinen
- Re: [ANN] LuaJIT Roadmap 2011, Mike Pall
- Re: [ANN] LuaJIT Roadmap 2011, Florian Weimer
- Re: [ANN] LuaJIT Roadmap 2011, Michal Kottman
- Re: [ANN] LuaJIT Roadmap 2011, Florian Weimer
- Re: [ANN] LuaJIT Roadmap 2011, David Given
- Re: [ANN] LuaJIT Roadmap 2011, steve donovan
- Re: [ANN] LuaJIT Roadmap 2011, David Given
- Re: [ANN] LuaJIT Roadmap 2011, steve donovan
- Re: [ANN] LuaJIT Roadmap 2011, Alexander Gladysh