> I don't expect everything to have bounds checking, but I'm using .S a lot
> to inspect the stack, so having to reset the machine all the time and start
> over kind of sucks. If I knew more about the system maybe I could rewrite
> .S to know if it's looking at the stack or what's underneath?
Yes, should be fairly trivial:

: .s depth 0= if ." BARF!" else .s then ;

Reply via email to