lua-users home
lua-l archive

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


2014-11-24 8:26 GMT+00:00 Paul Merrell <marbux@gmail.com>:
> That has to be eLua rather than Lua. Lua requires an operating system
> (but can be compiled and run on any known platform).

This is not true. You can compile Lua for an embedded target without
an operating system. All you need is a standard C library, which many
if not all modern microcontroller toolchains provide. What eLua adds
on top of Lua is some microcontroller-oriented libraries, and specific
build configurations and patches so that Lua runs better on some
specific platforms. I'm not trying to minimize the work involved in
eLua, just fixing a mistake.

So this project might run eLua, or it might simply compile the
standard Lua in an appropriate way for the ESP8266 processor. It's
hard to tell because the firmware on nodemcu's Github is actually a
binary image, I can't find the source code (which by itself feels a
little suspicious to me).