[28] | 1 | This directory contains some useful files and code. |
---|
| 2 | Unlike the code in ../src, everything here is in the public domain. |
---|
| 3 | |
---|
| 4 | If any of the makes fail, you're probably not using the same libraries |
---|
| 5 | used to build Lua. Set MYLIBS in Makefile accordingly. |
---|
| 6 | |
---|
| 7 | all.c |
---|
| 8 | Full Lua interpreter in a single file. |
---|
| 9 | Do "make one" for a demo. |
---|
| 10 | |
---|
| 11 | lua.hpp |
---|
| 12 | Lua header files for C++ using 'extern "C"'. |
---|
| 13 | |
---|
| 14 | lua.ico |
---|
| 15 | A Lua icon for Windows (and web sites: save as favicon.ico). |
---|
| 16 | Drawn by hand by Markus Gritsch <gritsch@iue.tuwien.ac.at>. |
---|
| 17 | |
---|
| 18 | lua.pc |
---|
| 19 | pkg-config data for Lua |
---|
| 20 | |
---|
| 21 | luavs.bat |
---|
| 22 | Script to build Lua under "Visual Studio .NET Command Prompt". |
---|
| 23 | Run it from the toplevel as etc\luavs.bat. |
---|
| 24 | |
---|
| 25 | min.c |
---|
| 26 | A minimal Lua interpreter. |
---|
| 27 | Good for learning and for starting your own. |
---|
| 28 | Do "make min" for a demo. |
---|
| 29 | |
---|
| 30 | noparser.c |
---|
| 31 | Linking with noparser.o avoids loading the parsing modules in lualib.a. |
---|
| 32 | Do "make noparser" for a demo. |
---|
| 33 | |
---|
| 34 | strict.lua |
---|
| 35 | Traps uses of undeclared global variables. |
---|
| 36 | Do "make strict" for a demo. |
---|
| 37 | |
---|
| 38 | bin2c.c |
---|
| 39 | This program converts files to byte arrays that are automatically run |
---|
| 40 | with lua_dobuffer. This allows C programs to include all necessary Lua |
---|
| 41 | code, even in precompiled form. Even if the code is included in source |
---|
| 42 | form, bin2c is useful because it avoids the hassle of having to quote |
---|
| 43 | special characters in C strings. |
---|