2022-08-12 10:10:33 In Forth the word WORD will parse the next word out of the input stream, and it can be called from anywhere you like. FIND usually uses it, and of course the defining words ( : CREATE VARIABLE CONSTANT etc.) use it. When ( is used to open a comment it generally uses it as well; it specifies ) as the delimiter, so everything up to the next ) gets passed over. 2022-08-12 10:12:49 WORD is typically built using a pair of words SKIP and SCAN. They don't copy anything - they just move a pointer over the input stream - you later use those pointers to copy out the appropriate characters. 2022-08-12 22:28:42 I remember seeing some troff advocacy here -- is there a tutorial people would recommend? 2022-08-12 22:30:16 be warned, it can be roff going 2022-08-12 22:33:33 but otherwise you can probably find UnixTextProcessing.pdf 2022-08-12 22:36:29 okay, thanks 2022-08-12 22:39:40 easier might be the groff docs, or look at mdoc(7) for OpenBSD