lua-users home
lua-l archive

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


One of the things I like about Awk is that
all functions are compiled before interpretation
starts. This means that the textual order of
function definitions does not matter.
Now that Lua is to be lexically scoped, has anybody
considered the feasibility of adopting this strategy?
It would encourage a more top-down approach to programming
if definitions could appear later in the source code
after an identifier has been used.
-- 
Gavin Wraith (gavin@wraith.u-net.com)
Home page: http://www.wraith.u-net.com/