[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Naked LUA
- From: Zomirp Cila <zomirp.cila@...>
- Date: Tue, 27 Jul 2010 13:17:56 +0200
On 27-Jul-10 12:18, KHMan wrote:
Zomirp Cila wrote:
I'm LUA fan for a decade now (introduced to me with Girder software)
and this is the first time I think about porting.
Anyway... what I need is interpreter or script engine to run on
various platforms with lowest footprint as possible, 16kB max.
Others have made their reservations known... Number One question, what
microcontroller?
All of them :)
As I said, I want light diagnostic tool. The interpreter and script will
be loaded at runtime in RAM then executed. Then execution will be
returned back to original application.
Lua needs a memory heap (in general), 32-bit integers (unless you're
willing to do a lot of whacking), and AFAIK anything with a few KBs of
SRAM has tons of Flash memory. If your part's Flash is so limited,
something more like a compiled-BASIC would be more appropriate.
There has been attempts at a cut-down language etc, but it wouldn't be
complaint-Lua anymore.