[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Newbie - shrinking Lua compiler and interpreter
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 18 May 2007 00:30:48 -0300
> 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