retroforth/tools/missing-dsource.retro
crc 6081877f6c add a tool for identification of missing d:source info
FossilOrigin-Name: fc90abe157d459c61054a28a8db68eab71460e14bffac5d653ae954cea26344f
2021-09-17 14:41:21 +00:00

11 lines
256 B
Forth
Executable file

#!/usr/bin/env retro
This is a quick program to display the word names and header info
for words with an empty `d:source` field.
~~~
:,name dup d:name s:put ;
:,dt dup n:put ;
[ dup d:source fetch n:zero? [ ,dt tab ,name nl ] if drop ] d:for-each
~~~