resty-cli
resty-cli copied to clipboard
`resty` REPL
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.
/usr/local/openresty/luajit/bin/luajit