Files
itgmania212121/stepmania/src/lua-5.1
Glenn Maynard dd8d265975 Add a custom syntax to Lua, to handle command strings.
function f = cmd(a,b;c,d)

is equivalent to

 function f = function(self, ...) self:a(b); self:c(d); end

This is equivalent to LuaHelpers::ParseCommandList, except:

 - Commands are not lowercased.  Do that yourself.
 - The "parent" parameter is not included.  Use self:GetParent().
 - "+5" is not valid.

The benefits are:

 - Better syntax checking.  Running "luac" on the Lua files will do syntax
   checking, and runtime syntax checks will find problems earlier.
 - Easier optimization.  Lua files can be compiled, and when using commands
   this way, commands will be precompiled, too.
 - Commands are compiled in the same scope, so upvalues work:
   local foo = 10; y = cmd(x,foo);
2006-10-12 09:18:05 +00:00
..

README for Lua 5.1

See INSTALL for installation instructions.
See HISTORY for a summary of changes since the last released version.

* What is Lua?
  ------------
  Lua is a powerful, light-weight programming language designed for extending
  applications. Lua is also frequently used as a general-purpose, stand-alone
  language. Lua is free software.

  For complete information, visit Lua's web site at http://www.lua.org/ .
  For an executive summary, see http://www.lua.org/about.html .

  Lua has been used in many different projects around the world.
  For a short list, see http://www.lua.org/uses.html .

* Availability
  ------------
  Lua is freely available for both academic and commercial purposes.
  See COPYRIGHT and http://www.lua.org/license.html for details.
  Lua can be downloaded at http://www.lua.org/download.html .

* Installation
  ------------
  Lua is implemented in pure ANSI C, and compiles unmodified in all known
  platforms that have an ANSI C compiler. Under Unix, simply typing "make"
  should work. See INSTALL for detailed instructions.

* Origin
  ------
  Lua is developed at Lua.org, a laboratory of the Department of Computer
  Science of PUC-Rio (the Pontifical Catholic University of Rio de Janeiro
  in Brazil).
  For more information about the authors, see http://www.lua.org/authors.html .

(end of README)