1 2 3 4 5 6 7 8
pub fn get_std_resource(path: &str) -> Option<String> { match path { "@prelude" => Some(include_str!("prelude.lisp").to_string()), "@map" => Some(include_str!("map.lisp").to_string()), "@math" => Some(include_str!("math.lisp").to_string()), _ => None, } }