6.3.2 Lexing and parsing

Each file is lexed into a list of token, then parsed into an Abstract Syntax Tree (AST).

See the parsing reference for more information.

This step may fail. Each file being converted one after the other, if one fails, the remaining ones are not even considered and an error is returned.