Added tuples

This commit is contained in:
2023-08-03 14:39:53 -07:00
parent bc3bd3d1fc
commit 999f24ce52
7 changed files with 85 additions and 4 deletions

View File

@ -135,6 +135,14 @@ pub fn tokenize(input: &String) -> VecDeque<Token> {
};
},
',' => {
push_token(&mut g, t, i);
t = Some(Token::Operator(
LineLocation{pos: i, len: 1},
String::from(c)
));
},
// Operator
'^'|'!'|'%'|'\\'|
'*'|'×'|'/'|'÷'|