Function load_script
Source pub fn load_script(engine: &Engine, script_path: &str) -> Result<AST, String>
Expand description
Loads and compiles a Rhai script.
§Arguments
engine - The Rhai engine instance
script_path - Path to the script file
§Returns
Result containing the compiled AST