use std::fs::read_to_string; mod ast; use ast::*; mod parser; use parser::*; pub fn run(arg: &str) -> String { let content = read_to_string(arg).unwrap(); let value = parse(&content.to_string()); let result = interpret(value); result.to_string() } fn interpret(arg: Value) -> Value { // interpreting a value is the value itself arg }