Re:Starting Forth – the classic Forth language tutorial
by dvdkhlng on Thursday June 20, 2013 @04:30AM
(#5910898)
There 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
Thanks for the explanation. I really ought to do a practical session with Forth.