Digest #31 2018-05-14
There has been some discussion around the use of [ELSE] .. [THEN] without a preceding [IF]
As the culprit responsible for ANS Forth's [IF] [ELSE] [THEN], I can state that omitting [IF] was not one of my goals, and I don't recall even considering the possibility.
That said, I think it's nice that it happens to work, and it certainly seems useful, if a bit surprising to the naive user.
My comment was based on a misreading of the given test cases. These looked like the number 05 rather than the constant 0S Boolean value provided in the test lexicon.
If legal get's involved - you can forget it anyway. In this case - even for a free of charge amazon version I had considered, is impossible as amazon is a legal body. I had hoped there would be an opportunity to spread the message about Forth and the the Standard in a simple way - but it seems no chance. Thanks for your feedback.
These test cases have an environmental dependency on negative numbers being in twos-complement format, which every system implements, but Forth-2012 did not standardize. We have standardized 2s-complement afterwards, so this test case will not have an environmental dependency in the next standard.