$ luarocks install luaterminal
LuaTerminal is a standalone Lua 5.2+ module that allows you to create a Lua terminal in a IUP text box/scintilla or opens a socket terminal allowing remote dumb consoles to remotely execute lua code and receive responses or it can have both running simultaneously with multiple instances of each.
Versions
Dependencies
lua >= 5.2