lua-users home
lua-l archive

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


To be even more precise, the function prototypes are created at compile time / load time, and the function closures and assignments are created at run time.

2010/12/6 Pierre-Yves Gérardy <pygy79@gmail.com>
On Mon, Dec 6, 2010 at 02:54, Miles Bader <miles@gnu.org> wrote:
David Kastrup <dak@gnu.org> writes:
> To create them or to assign them to their variable?

Is it possible to tell the difference?

If I understand properly, the functions are compiled to bytecode at load time, but only assigned at run time.

-- Pierre-Yves