Lua EOS is an embedded multi-task framework where the application layer can be written in Lua Scripts. It provides event driven non-preemptive Lua tasks. Lua is very light weight and suitable for embedded systems.
Lua EOS is currently ported to ESP32 platform.
There is also a Simulator for Mac and Linux based. Requires Qt development framework.
Further details and setup instruction are available in this link