Godot Version
v4.3.stable.official [77dcf97d8]
Question
Hello world !
I’m aware of the Expression class in order to parse one-liners of gdscript.
But what about more complex scripts ?
I’m currently writing a MUD client, and users have the possibility via one CodeEdit widget to provide small pieces of code (in gdscript obviously), and notably declaring functions.
At first I tried to export the custom code to a temporary file and simply load it, but the whole application crashes if the syntax is invalid, and I found no way to prevent it.
A simple way to avoid crashing would be enough. Detailed parsing errors would be quite a bonus.
Thanks everybody.