Skip to main content

eval_str

Function eval_str 

Source
pub fn eval_str(src: &str) -> Result<Value, Error>
Expand description

Convenience: read + evaluate a tatara-lisp source string against a fresh interpreter with the full stdlib installed.

Primarily for tests and one-liner invocations. Binary entry points should construct the Interpreter directly to keep the host context available across calls.