gbenson/i8c

i8x stack errors are just assertions

Closed this issue · 1 comments

i8x stack errors are just assertions (and whatever "pop from empty list" throws, for underflow). They should be proper checks that raise a subclass of ExecutionError. stack.op is always set for things to throw with (and set cleverly enough to do the right thing across calls), it just needs the checks writing.