lua-users home
lua-l archive

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

On Mon, Jan 24, 2011 at 5:07 PM, Alexander Gladysh <> wrote:
> On Tue, Jan 25, 2011 at 00:50, David Given <> wrote:
>> Interestingly enough, the absence of a @line directive in Lua is
>> crippling Objective Lua's ability to be useful.[...]
> I plan to experiment with beating this by writing error message
> filter, which would use a stored mapping of generated code to source
> code file/line ranges, and do a gsub before spitting out an error.
> Loading of that mapping should be delayed until the actual error
> happens, so it should not bring too much overhead...

My thought too [1].  I've had concerns how error handlers work too though [2].