Re: [stack] Re: Concatenative Research

John Cowan <[email protected]> Thu, 3 Feb 2011 13:41:11 -0500
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
Justin scripsit:

> Agreed! Quotations should be opaque, functions should be unable to
> gauge the depth of the stack, and functions should be unable to discern
> anything about the parts of the program following them.

*sigh*

The minute anyone gets a hold of the Joy model, the first thing they ditch
is the beautiful code/data duality.  It is IMHO part of the essence of
Joy that you construct lists-as-code with the same mechanisms you use
to construct lists of any sort, and the stack is just another list.
(Lisp/Scheme tries to allow the former, but issues around lexical scope
make it impossible in the general case: syntax objects are not lists
and symbols.)  Sacrificing that beauty to the fashionable model of static
typing strikes me as just sad.

-- 
John Cowan          http://www.ccil.org/~cowan         [email protected]
The native charset of SMS messages supports English, French, mainland
Scandinavian languages, German, Italian, Spanish with no accents, and
GREEK SHOUTING.  Everything else has to be Unicode, which means you get
nly 70 16-bit characters in a text instead of 160 7-bit characters.