This contains patch and bat files to compile LUA with Borland C 3.1 under DOS. LUA is copyright TeCGraf, PUC-Rio. In brief, it's free to use for any purpose as long as you retain the copyright notice, do not misrepresent the origin of the package, and mark any altered sources as such. Do give the authors credit if you use LUA. The full conditions can be found at the web site www.lua.org. Get the LUA distribution from www.lua.org. Unpack it. You will find a directory called lua. Unpack this archive in this directory. It will create this file, a patch file and 4 bat files. Patch the source either with the Unix patch program or by hand, it's just a one line change. Go to each of the directories in turn and run the bat files: lua/src/lib/libluali.bat lua/src/liblua.bat lua/src/lua/dolua.bat lua/src/luac/doluac.bat The executables are lua.exe (interpreter) and luac.exe (compiler). .