lua-users home
lua-l archive

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


> 'local' keyword removal isn't looking good -- gets very awkward attempting a
> general optimizer using the ad hoc data structures LuaSrcDiet currently has.
> Better to do it for the Lua 5.2 version.

By "local" keyword removal, are you thinking of making the following
substitution ?
  local a = 12
  local b = "str"
==>
  local a,b=12,"str"
Because otherwise, I don't think "local" can be considered optional at all.