pub fn parse(tokens: &[Token<'_>]) -> Result<Vec<Statement>, AsmError>Expand description
Parse a token stream into a list of IR statements.
ยงErrors
Returns Err(AsmError) if the token stream contains an unexpected token,
a malformed directive, or an invalid instruction syntax.