Instead of aborting in random places within the VM when throwing exceptions, print #<unbound>. In normal circumstances this won't ever happen.
Unified · Split
| @@ -538,7 +538,9 @@ sl_print_child(sl_v v) · 537 unmodified lines | ||
| 538 | 538 | outsc("#<eof>"); |
| 539 | 539 | else if(v == sl_void) |
| 540 | 540 | outsc("#<void>"); |
| 541 | − else // unbound, should never happen | |
| 541 | + else if(v == sl_unbound) | |
| 542 | + outsc("#<unbound>"); | |
| 543 | + else | |
| 542 | 544 | abort(); |
| 543 | 545 | break; |
| 544 | 546 | case TAG_FN: |