1 This client is a sample lua interpreter.
2 It can be used as a batch interpreter and interactively.
3 Here are the options it understands:
5 -v print version information
7 -e stat dostring `stat'
8 -q interactive mode without prompt
9 -i interactive mode with prompt
10 - executes stdin as a file
11 a=b sets global `a' with string `b' (no need to quote b)
14 If no options are given, then it reads and executes lines from stdin.
15 In this case, each line must contain a complete statement.
16 To span a statement across several lines, end each line with a backslash '\'.
17 To change the prompt, set the global variable _PROMPT to whatever you want.
19 This interpreter is good for using Lua as a standalone language.
20 For a minimal interpreter, see etc/min.c.