openresty / resty-cli

Fancy command-line utilities for OpenResty
http://openresty.org
263 stars 64 forks source link

`resty` REPL #74

Open LoganDark opened 2 years ago

LoganDark commented 2 years ago

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.

rweichler commented 1 year ago

/usr/local/openresty/luajit/bin/luajit