lua-users home
lua-l archive

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

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.