slua icon indicating copy to clipboard operation
slua copied to clipboard

autocompletion in interpreter mode

Open eadmaster opened this issue 4 years ago • 1 comments

is it possible to add tab-autocompletion in interpreter mode?

some modules that provides this are:

  • https://github.com/hoelzro/lua-repl
  • https://github.com/dpapavas/luaprompt
  • https://github.com/giann/croissant
  • http://lua-users.org/wiki/InteractiveLua

eadmaster avatar Feb 23 '21 12:02 eadmaster

Thanks for the suggestion and the links.

I don't want to add more C libraries or code to slua (as my objective is to have a standalone lua as compact as possible). But a pure Lua approach is interesting.

I will look at the links you provided, and maybe I'll add a Lua script or links to external solutions which work well with Lua 5.4

philanc avatar Feb 23 '21 18:02 philanc