Aodhnait Étaín
262df19aa3
Now it also handles expression such as 11 * 13, 11 + 13 * 17, and even 11 + 13 * 17 + 19. We also introduced new function, is_binary_operator, which allows for simpler checking of operators in the expression parser. We fixed the issue that parser didn't parse its input exhaustively, i.e. when given '+17 + 23 + +21' it would return only +17 + 23, which is far from what we would expect. |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.toml |