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: [] 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


The library does not yet implement all of the SCXML spec-see the TODO list at 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.