Function tokay::run

source ·
pub fn run(src: &str, input: &str) -> Result<Option<RefValue>, String>
Expand description

Compiles a Tokay source and runs the resulting program with an input stream from a &str.

This function is mostly used internally within tests, but can also be used from outside.