lua-users home
lua-l archive

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


----- Original Message -----
From: "Luiz Henrique de Figueiredo" <lhf@tecgraf.puc-rio.br>
To: <lua@bazar2.conectiva.com.br>
Sent: Tuesday, October 14, 2003 10:42 PM
Subject: Re: luac.lua


> >I want to have some things explained
>
> Ask away!
>
> >well, I will see what I can do. Some thing that I want to do is replace
all
> >debug/trace calls (lua_DXX?) and tests with #ifdef LUA_WITHDEBUG. I'm not
> >speaking about lua debug, but the "runtime" one. For example, the user
make
> >a source file and test, then compile it, and execute in my prog. If he do
in
> >script:
> >    print(x) -- x never declared
> >He will have only an error msg, not a stack dump.
>
> If you're using lua.c, simply do
> function _TRACEBACK(x) return x end

I imaigne that if I don't need the info, then I can speed up execution
 less calls and tests inside the lua vm code...), but ok, I'm testing yet.

...
> Yes, lua and luac in test/. If these are trouble, we can remove them.
> --lhf

    No problems, only some warnings and nothing more :-).

                                                        Thank you very much,


Leandro.