pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.59k stars 518 forks source link

Changing LUA Interpreter for Zerobrane itself #1178

Open Abooow786 opened 3 months ago

Abooow786 commented 3 months ago

Hey,

I got a Interpreter with which i want to parse lua Files. Everything works fine and i also included it to Zerobrane so that i can choose it as a Interpreter for Debug. My issue now is that the Interpreter has functions which are not in Lua 5.1. So when i am not in the Debug Mode the locale Console is not my Interpreter but the Lua 5.1 Interpreter. So my Functions are only recognized while Debugging. That is a little bit of bad for my Plans. So i got 2 Options.

  1. Only show the Frame for the locale Console while Debugging or
  2. Change the Code so that my Interpreter will always be used independet if debugging or not.

i know there is no implemented configuration for that so i was just playing with the source code but did not find any way to change it. My Interpreter works with every required extension like 'wx' etc. So it also should be possible to run zerobrane on my Interpreter.

Any Ideas how to do it?