[comp.lang.forth] CURRENT, CONTEXT, and the 83 Standard

toma@tekgvs.LABS.TEK.COM (Tom Almy) (04/10/90)

Well my face is red on this goof, but at least I discovered it first.

I had said, "The CURRENT vocabulary is only used as the vocabulary to
place new definitions, not one of the vocabularies searched."

And at another time I said, "The %^&*($# 83 Standard only specifies that
the CONTEXT vocabulary be searched first and FORTH be searched last, thus
just about every vocabulary scheme meets the Standard."

What I failed to notice is that the CURRENT vocabulary can  be one
of the vocabularies searched (as it indeed was in figForth) yet still
meet the 83 Standard. And there it was, right in front of me, LMI Forth's
do just that: they search CONTEXT, CURRENT, then FORTH.

(Additional note on figForth, it searched CONTEXT, (possibly other vocs),
FORTH, then CURRENT, (possibly other vocs), then FORTH again! Forth is 
searched before CURRENT, but because FORTH is also searched last it meets
the  83 Standard.

Actually the whole thing is so screwed up that any application that uses
vocabularies is just about guarenteed not to be portable!

Tom Almy
toma@tekgvs.labs.tek.com
Standard Disclaimers Apply