Lua was already designed for embedded use.
After reading the overview of eLua, I don't understand what it brings that standard Lua doesn't already provide.
http://www.eluaproject.net/overview
Anyone care to elaborate.
Edit: OT. Does anyone know what Mike Pall is working on since it's not LuaJit these days? http://luajit.org/sponsors.html
http://wiki.eluaproject.net/Boards
True, you can port standard lua, but you would still need to do some low level work such as setting up the serial ports and timers.
They are either providing means to compile Lua code to machine code (or an interpreter/VM running on controller and executing Lua code). Also, they have unified hardware abstraction layer for all the different architectures and controlls supported, so that operating peripherals feels the same on all platforms.
Sorry, but I'm still not understanding the value.
I'll paste an excerpt from Lua official website:
"Lua is implemented in pure ANSI C and compiles unmodified in all known platforms. All you need to build Lua is an ANSI C compiler (gcc is a popular one). Lua also compiles cleanly as C++."[1]
Even LuaJIT has non-x86 support [2].
[1] http://www.lua.org/faq.html#1.1
[2] http://luajit.org/performance.html
edit: typo