I'm looking for an open-source Lua interpreter (sometimes called a lua console or a lua shell) with the following features:
- Ability to write lua commands and see results
- Simple graphic UI
- Auto-completion of global objects, class methods
- Ability to watch the value of global variables, packages, etc.
- If it comes integrated with script file editor or lua debugger it's even better...
Any ideas? Thanks!
ZeroBrane Studio provides a Lua console (both local to execute commands in the IDE and remote to execute them in the context of the client application). You can also modify variables in the application and get values pretty printed (including complex hierarchical data). The IDE does come with the debugger, Stack and Watch views and auto-completion.
The code for the console is available on GitHub, but for remote execution it mostly relies on capabilities provided by the debugger (MobDebug). If you want to integrate something like this in your application, then the source file I referenced may be a good starting point.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With