Made the arrows cooler.

This commit is contained in:
Goren Barak 2023-11-25 18:53:15 -05:00
parent 37e6a85463
commit 5adf4396c7

View file

@ -33,7 +33,7 @@ pub fn parse_var_declaration(mut tokens: Lexer<Token>) -> Option<Expr> {
} }
pub fn parse_fun_call(mut tokens: Lexer<Token>) -> Option<Expr> { pub fn parse_fun_call(mut tokens: Lexer<Token>) -> Option<Expr> {
// Is it an Ident? -> Is it a LeftParen? -> Is it a value (I should really make a function to parse that) or is it a RightParen? // Is it an Ident? → Is it a LeftParen? → Is it a value (I should really make a function to parse that) or is it a RightParen?
// ↓ ↓ // ↓ ↓
// If it's a value, push that to `params`. Otherwise, params will just be a `Vec::new()`. // If it's a value, push that to `params`. Otherwise, params will just be a `Vec::new()`.
} }