pub fn format_expression(exp: &str) -> Result<String>