lua-users home
lua-l archive

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


On 02/09/12 07:26, Jan Lühr wrote:
Hello folks,

I'm trying to implement an FSM in Lua to model the state of a wireless router. The system is running OpenWRT, so using lua seems to be a reasonable choice.
Since I'm new to lua (I actually looked a lua yeasterday for the first time), I've some questions :-)


I did an experimental management platform for routers under OpenWRT myself. I takes machine-generated FSM ("FSM with epsilon transitions"), and runs them.

https://github.com/xopxe/LuPA

Related content-based notification bus, so the nodes can exchange signals:

https://github.com/xopxe/Rnr

There are a couple papers describing the thing (google for "A rule-based distributed system for self-optimization of constrained devices").

DISCLAIMER: This was the first thing I wrote in Lua. If I started the thing today, it would look completely different :)


Jorge