lua-users home
lua-l archive

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


Very cool!  Thanks, Gavin.  Have you attempted to run it on LuaJIT?  (I haven't had the time to give it a go as of yet)

-----Original Message-----
From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Gavin Kistner
Sent: Monday, February 25, 2013 11:58 PM
To: Lua mailing list
Subject: [ANN] LXSC - an SCXML State Chart Interpreter in Lua

LXSC stands for "Lua XML StateCharts", and is pronounced "Lexie". The LXSC library allows you to run SCXML[1] state machines in Lua, with a Lua data model for conditional transitions and executing scripts.

You can read more and download at https://github.com/Phrogz/LXSC

~~~

The library does not yet implement all of the SCXML spec-see the TODO list at https://github.com/Phrogz/LXSC#todo-aka-known-limitations for a pretty comprehensive list of what's missing-but I'm using the library now in production code and feel that it it has been well-enough exercised and tested to make it public.

Note that the W3C SCXML spec is still in flux, and specifically there are active discussions on the working group that will subtly effect the runtime algorithm implemented as time goes forward. Some nuances of the behavior of LXSC may change along with the SCXML standard.


[1] http://www.w3.org/TR/scxml/