On 8/21/06, hel...@gm... <hel...@gm...> wrote:
> is there a way to let (wx)Lua check the script syntax and report possible errors, without running the script if it's error-free?
>
> Just think of a script editor, which might have a button "Check syntax", but you don't want the script to run actually.
Yes, you can use wxLuaState::CompileString/Buffer to do this.
Regards,
John Labenski
|