pub fn pan_to_ast(pan_file: &[u8], macro_name: &str) -> Result<String>
Extract and parse a macro/procedure into an AST JSON string.