README 928 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
This directory contains some useful files and code.
Unlike the code in ../src, everything here is in the public domain.

If any of the makes fail, you're probably not using the same libraries
used to build Lua. Set MYLIBS in Makefile accordingly.

all.c
	Full Lua interpreter in a single file.
	Do "make one" for a demo.

lua.hpp
	Lua header files for C++ using 'extern "C"'.

lua.ico
	A Lua icon for Windows (and web sites: save as favicon.ico).
	Drawn by hand by Markus Gritsch <gritsch@iue.tuwien.ac.at>.

lua.pc
	pkg-config data for Lua

luavs.bat
	Script to build Lua under "Visual Studio .NET Command Prompt".

min.c
	A minimal Lua interpreter.
	Good for learning and for starting your own.
	Do "make min" for a demo.

noparser.c
	Linking with noparser.o avoids loading the parsing modules in lualib.a.
	Do "make noparser" for a demo.

strict.lua
	Traps uses of undeclared global variables.
	Do "make strict" for a demo.