Copyright (C) 2000-2012 |
Manpages LUASection: User Commands (1)Updated: 2000/09/04 21:41:28 Index Return to Main Contents NAMElua - Lua interpreterSYNOPSISlua [ arguments ]DESCRIPTIONlua is the stand-alone Lua interpreter. It loads and executes Lua programs, either in textual source form or in precompiled binary form, as output by luac, the Lua compiler. lua can be used as a batch interpreter and also interactively.The arguments can be options, assignments, or filenames, and are processed in order, from left to right. Options start with - and are described below. An assignment is an argument of the form a=b, which assigns the string `b' to the global variable a. Note that no quotes are needed around the string if it does not contain spaces or other characters special to the shell. This is for convenience only. (In general, you should be careful when using quotes and spaces on the command line because they are usually handled by the shell.) If the argument is neither an option nor an assignment, then it is assumed to be a filename, which is then loaded and executed. If no arguments are given, then -v -i is assumed when the standard input is a terminal; otherwise, - is assumed. OPTIONS
SEE ALSOluac(1)http://www.tecgraf.puc-rio.br/lua/ DIAGNOSTICSError messages should be self explanatory.AUTHORSR. Ierusalimschy, L. H. de Figueiredo, and W. Celes (lua@tecgraf.puc-rio.br)
IndexThis document was created by man2html, using the manual pages. Time: 12:04:59 GMT, March 28, 2024 |