lua-users home
lua-l archive

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


On Tue, Jul 27, 2010 at 04:18, KHMan <keinhong@gmail.com> 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?
>
> 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.
>
> --
> Cheers,
> Kein-Hong Man (esq.)
> Kuala Lumpur, Malaysia
>

Maybe what you want is to compile Lua to your microcontroller's
machine language.

-- 
Sent from my toaster.