First, thanks for participating in Rosetta Code - I think it's an important platform
and I've made several entries myself.
The fun part when porting it to 4tH:
- 4tH has "1 CONSTANT TRUE" - instead of all bits set. So a bit of fixing was required
in order to get it to run;
- norm-m starts with a "DUP 0<". Now for 4tH I have to negate that value in order to
get it to work. And then it became the sequence for "S>D". So I tested it on Gforth
and that worked ;-)
- Having said that: the sequence you chose better reflects your intention, of course.
But I thought it was a nice hack.
Hans Bezemer