pub fn convert_to_hir(ast: &PythonAST) -> Result<PythonHIR>
Convert Python AST to HIR
Returns an error if the AST cannot be converted to HIR