CS1632_Spring2018
CS1632_Spring2018 copied to clipboard
+2 ISSUE #40
-
It is not stated whether blank lines should increment the line counter in either REPL or file mode.
-
In the errors for REPL, "LET A" outputs "Operator LET applied to empty stack". However, "LET" is a keyword. Shouldn't this be an error code 5 instead?
Laboon's Response:
-
This is ambiguous based on the requirements (since I say "blank lines should be ignored") but I would say that even blank lines increment the counter.
-
Good point. The way I wrote it, both keywords and operators do the same "kind" of thing and I didn't differentiate. Ideally it should be error code 5 but I would be content with either way of doing it.