Error handling for evaluator #4
Notifications
Due Date
No due date set.
Blocks
#3 Make exec take arguments from console
laentropia/Calculator
#7 Do Further testing
laentropia/Calculator
Reference: laentropia/Calculator#4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What?
Right now the evaluator doensn't return any kind of error, and it should, lexer returns sytaxsis errors but the evaluator would return mathematical errors, things like division by 0. Right now there are just a few implemented operators so division by 0 is the only real concern, however, if we are planing on adding more operators or even built-in funcitions this will need to be handled later.