Digest #9 2016-05-24

Contributions

[19] 2016-05-22 20:03:53 GerryJackson wrote:

comment - TRAVERSE-WORDLIST is in the wrong word set

Despite TRAVERSE-WORDLIST being regarded as a programming tool it cannot be used or tested unless wordlists can be created which requires at least some of the words in the Search-Order word set. Therefore it belongs in the Search-Order word set.

Replies

[r21] 2016-05-22 20:23:13 GerryJackson replies:

testcase - Check for evaluate SOURCE is the string itself, not a copy

Both John Hayes' core test program and the specification for SOURCE already have this test case:

: GS1 S" SOURCE" 2DUP EVALUATE
       >R SWAP >R = R> R> = ;
T{ GS1 -> \<TRUE\> \<TRUE\> }T

which does the same thing, albeit less efficiently.