Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str) -> Result<File, Vec<ChumskyParseError>>
Expand description

Parse Ato source code into an AST.

This is the main entry point for parsing Ato source code. Returns an error if parsing fails completely.

For error recovery (getting partial AST even with errors), use parse_with_recovery.