4 ms·
Ah, so you mean that certain words can not only look at the stack but also look at manipulate the input word stream. Thanks for the explanation. I really ought
by zaf 13y ago
Ah, so you mean that certain words can not only look at the stack but also look at manipulate the input word stream.
Thanks for the explanation. I really ought to do a practical session with Forth.
- dvdkhlng 13y agoThere are various levels of abstraction when accessing the input stream. The lowest level is by inspecting the input (line) buffer. Just realized how that allows one to write a three-word quine [1] in ANS-compliant Forth: SOURCE TYPE BYE [1] https://en.wikipedia.org/wiki/Quine_%28computing%29 https://en.wikipedia.org/wiki/Quine_%28computing%29