Sometimes I just want to test something out in OpenResty's fork of LuaJIT, that doesn't necessarily involve the lua-nginx APIs (or other OpenResty components). For example FFI stuff.
In that case a REPL would be more helpful than resty -e ... because I could inspect and modify things in real-time rather than tweaking a long string.
It would only need to be pure LuaJIT, no nginx stuff.
Sometimes I just want to test something out in OpenResty's fork of LuaJIT, that doesn't necessarily involve the lua-nginx APIs (or other OpenResty components). For example FFI stuff.
In that case a REPL would be more helpful than
resty -e ...
because I could inspect and modify things in real-time rather than tweaking a long string.It would only need to be pure LuaJIT, no nginx stuff.