You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The input parsing and behavior of the calculator with different arg flags in parse_expression and compute_rpn remains awkward. The function run_from_expr in the test suite, interactive and noninteractive modes call these functions slightly differently, but these should be unified. The clever hack of inserting print statements to implement verbose mode also causes kludges elsewhere when repeating last command (have to ignore prints). This could be removed just by making flags incl/ verbose part of the calculator state, and triggering on item.action() consumption.
The text was updated successfully, but these errors were encountered:
The input parsing and behavior of the calculator with different arg flags in parse_expression and compute_rpn remains awkward. The function run_from_expr in the test suite, interactive and noninteractive modes call these functions slightly differently, but these should be unified. The clever hack of inserting print statements to implement verbose mode also causes kludges elsewhere when repeating last command (have to ignore prints). This could be removed just by making flags incl/ verbose part of the calculator state, and triggering on item.action() consumption.
The text was updated successfully, but these errors were encountered: