From Newsgroup: comp.lang.forth
NN <
november.nihal@gmail.com> wrote:
(1) https://www.forth.com/recognizers/
I found this page very useful. Credit to whomever wrote it.
(2) thanks to brad nelsons musings on svfig.
They made recognizers more understandble.
Timely -- Krishna Myneni just posted kForth-32 v2.7.0 in this
group, and the main change is a rewritten interpreter/compiler
aligned with the recognizer proposal. So there's now a
working implementation to look at alongside the spec.
The Forth Inc page is good at explaining the "what." What
I find harder to get from the docs is the "why now" -- Forth
has always had INTERPRET and the ability to extend the text
interpreter. What recognizers add is a standard way to do
it, so that extensions compose instead of each implementation
inventing its own hook.
The analogy that clicked for me: recognizers are to Forth's
text interpreter what DOES> was to defining words. DOES>
didn't let you do anything new -- you could always write
machine code. But it gave the pattern a name and made it
composable. Recognizers do the same for "how do I teach the
interpreter a new kind of input."
--- Synchronet 3.21e-Linux NewsLink 1.2