IamRob wrote:
is there any reason anyone can think of why the data stack should not be cleared before defining a new colon definition?
Garth mentioned an example, and a related example is
defeating Complier Security, as sometimes becomes reasonable. And I'm sure other cases could arise where clearing the data stack could create limitations.
Clearing the data stack would violate the "Mind Your Own Business" principle. IMO the process of creating a new colon definition should just do its job, ignoring the (irrelevant) presence or absence of other items already on stack.
I'm unclear on why having something on the stack would hinder the way you'd like to program, so maybe we can talk more about that. Clearing the data stack seems like an uncalled-for workaround.
-- Jeff
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html