lua-users home
lua-l archive

Re: [ANN] LuaJIT Roadmap 2011

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Jan 25, 2011 at 16:24, steve donovan <steve.j.donovan@gmail.com> wrote:
> 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)
Maybe metainformation in comments?
Like this:
--[[@fileline source.lua:42]] local function foo()
--[[@fileline source.lua:43]] print("bar")
--[[@fileline source.lua:42]] end
Alexander.

AltStyle によって変換されたページ (->オリジナル) /