FeOSLua is a port of Lua 5.2 to FeOS. Currently it's very incomplete, but it works :)
Lua is configured to use int
as its datatype instead of double
, for obvious reasons. The following things are also not supported:
- The power operator
- The maths library
os.clock
,os.difftime
,os.getenv
,os.setlocale
,os.tmpname
io.tmpfile
,file:setvbuf
cd
to the directory the repo is in and run make install
.
FeOSLua supports loading native Lua plugins. These are the default paths:
LUA_LDIR = /data/FeOS/Lua/lib/
(Lua libraries)LUA_CDIR = /data/FeOS/Lua/lib/native/
(Native Lua plugin)