pub fn parse_source(source: &str) -> Result<AgentFile, Vec<String>>
Parse AgentScript source code into an AST.