Skip to main content

eval_source

Function eval_source 

Source
pub fn eval_source(source: &str) -> Result<Value, String>
Expand description

Compiles, validates, and executes a closed source string in one step. Errors from either stage flatten to their display form (which carries source positions). No fallback to the tree-walking evaluator.