Welcome, Guest. Please login or register.

Author Topic: Lua meets ARexx  (Read 3795 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SysAdminTopic starter

  • News posting Auto Agent
  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 1393
    • Show only replies by SysAdmin
    • http://www.a-eon.com
Lua meets ARexx
« 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.
« Last Edit: June 21, 2011, 05:07:10 PM by SysAdmin »
Posts on this account before August 4th, 2012 don\'t belong to me.
 

Offline AJCopland

Re: Lua meets ARexx
« Reply #1 on: June 21, 2011, 05:01:08 PM »
It'd be interesting to combine this with a port of LuaJIT to 68k/PPC.
Be Positive towards the Amiga community!
 

Offline saimon69

  • Jr. Member
  • **
  • Join Date: Dec 2007
  • Posts: 83
    • Show only replies by saimon69
Re: Lua meets ARexx
« Reply #2 on: June 23, 2011, 03:03:40 AM »
love this, i wonder how complicated is to port this technology in AROS and combine it with zulu...

Saimon69

Offline magnetic

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2531
    • Show only replies by magnetic
Re: Lua meets ARexx
« Reply #3 on: June 23, 2011, 03:21:21 AM »
Seems cool, but what is the practical application for this?
bPlan Pegasos2 G4@1ghz
Quad Boot:Reg. MorphOS | OS4.1 U4 |Ubuntu GNU-Linux | MacOS X

Amiga 2000 Rom Switcher w/ 3.1 + 1.3 | HardFrame SCSI | CBM Ram board| A Squared LIVE! 2000 | Vlab Motion | Firecracker 24 gfx

Commodore CDTV: 68010 | ECS | 9mb Ram | SCSI -TV | 3.9 Rom | Developer EPROMs
 

Offline krashan

  • Sr. Member
  • ****
  • Join Date: Jan 2003
  • Posts: 253
  • Country: pl
  • Thanked: 1 times
  • Gender: Male
  • Hardware designer and programmer
    • Show only replies by krashan
    • Personal homepage
Re: Lua meets ARexx
« Reply #4 on: June 23, 2011, 06:01:09 AM »
Quote from: magnetic;646723
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.