musicmud-2.1.6/data/
musicmud-2.1.6/data/help/
musicmud-2.1.6/data/policy/
musicmud-2.1.6/data/wild/
musicmud-2.1.6/data/world/
musicmud-2.1.6/doc/
musicmud-2.1.6/src/ident/
musicmud-2.1.6/src/lua/
musicmud-2.1.6/src/lua/include/
musicmud-2.1.6/src/lua/src/lib/
musicmud-2.1.6/src/lua/src/lua/
musicmud-2.1.6/src/lua/src/luac/
This is lua, a sample Lua interpreter.
It can be used as a batch interpreter and also interactively.
There are man pages for it in both nroff and html in ../../doc.

Here are the options that it understands:
  -        execute stdin as a file
  -c       close Lua when exiting
  -e stat  execute string `stat'
  -f name  execute file `name' with remaining arguments in table `arg'
  -i       enter interactive mode with prompt
  -q       enter interactive mode without prompt
  -sNUM    set stack size to NUM (must be the first option)
  -v       print version information
  a=b      set global `a' to string `b'
  name     execute file `name'

If no options are given, then it reads lines from stdin and executes them
as they are read -- so, each line must contain a complete statement.
To span a statement across several lines, end each line with a backslash '\'.

To change the prompt, set the global variable _PROMPT to whatever you want.
You can do this after calling the interpreter or on the command line with
	lua _PROMPT="lua: " -i
for example. Note that you need "-i" in this case.

You must be careful when using quotes on the command line because they are
usually handled by the shell.

This interpreter is good for using Lua as a standalone language.
For a minimal interpreter, see ../../etc/min.c.

If your application simply exports new functions to Lua (which is common),
then you can use this interpreter (almost) unmodified, as follows:
First, define a function 
	void myinit (lua_State *L)
in your own code. In this function, you should do whatever initializations
are needed by your application, typically exporting your functions to Lua.
Then, add a call "myinit(L)" in lua.c after the place marked
	"add your libraries here"
Of course, you can use any name instead of "myinit".