Proposal: Specify that 0 THROW pops the 0

Informal

This page is dedicated to discussing this specific proposal

ContributeContributions

AntonErtlavatar of AntonErtl Specify that 0 THROW pops the 0Proposal2021-09-11 12:25:15

Hint: Please delete the blockquote explanations, they are just for your convenience while writing the proposal

Author:

M. Anton Ertl

Change Log:

First version

Problem:

The specification of THROW does not say that it pops the 0 on 0 THROW

Solution:

The following is a minimal fix. If somebody is willing to give THROW a more substantial rework, go ahead

Typical use: (Optional)

... search-wordlist 0= -13 and throw execute

Proposal:

Behind the stack effect of 9.6.1.2275 THROW, insert

Remove n from the stack.

Reply New Version