1pub struct Compiler {} 2 3impl Compiler { 4 pub fn new() -> Compiler { 5 Compiler {} 6 } 7 8 pub fn compile(&self, input: &str) -> Result<String, String> { 9 Ok(input.to_string()) 10 } 11}