Amiga.org
Amiga News and Community Announcements => Amiga News and Community Announcements => Topic started by: SysAdmin on June 21, 2011, 04:36:34 PM
-
News from Krashan via MorphZone
MorphOS port of Lua scripting language makes another step forward. Version 0.5 of the Lua package features a MorphOS-specific extension named ipc.module, which is a bridge between Lua and ARexx. Functions added to Lua by this module allow for sending ARexx commands to applications from Lua scripts and receive results.
Traditional "address command' interface to the shell is implemented too. As a proof of concept, a known script love.rx from TVPaint package has been translated to Lua and included to the package. It may be executed with the same result as the original one. ARexx interface combined with modern Lua syntax, very fast execution and possiblity of source level debugging with LuaExplorador advances MorphOS to the next level of scripting. The Lua 0.5 package may be downloaded from MorphOS Files (http://morphos-files.net/).
-
It'd be interesting to combine this with a port of LuaJIT to 68k/PPC.
-
love this, i wonder how complicated is to port this technology in AROS and combine it with zulu...
Saimon69
-
Seems cool, but what is the practical application for this?
-
Seems cool, but what is the practical application for this?
You can script applications using their ARexx interface without having ARexx in the system. You know MorphOS has no ARexx. One can install 68k ARexx from AmigaOS, but with Lua 0.5 you do not need it.
I also think a possibility to debug scripts at source level is interesting. An interface to MUI is planned too, so you can write applications in Lua.
I can also add that Lua allows for object oriented programming and metaprogramming - things you can hardly achieve with ARexx.