lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> We are try to shrink lua and luac to the minimum size possible in order 
> to make it run in less than 30k of ram and to make it fit in less than 
> 60k of rom.

I don't know about running Lua with only 30K of RAM, but for a small
Lua engine try min.c and noparser.c in the etc directory in the
source distribution. These files implement the ideas described in
http://www.lua.org/notes/ltn002.html (updated for Lua 5.1). Under Linux,
I get a 40K Lua engine by removing all libraries and the parser modules.
--lhf