Re: [stack] Re: Concatenative Research

stevan apter <[email protected]> Thu, 03 Feb 2011 14:25:44 -0500
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
On Feb 3, 2011, at 1:41 PM, John Cowan wrote:

> 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.
> 
not me!  that's the most beautiful aspect of joy.  in
XY i provide two operators, enclose and disclose.  enclose
of a quotation returns a function atom; disclose of a
function atom returns a quotation.  as i argued back
then, it's convenient to be able to "bottom out" at
the function level in recursions over quotations whose
outer structure is container-like and whose leaves are
function-like.  of course, this distinction is entirely
in the programmer's mind, but it's useful to be able to
mark it in the code.  

	http://nsl.com/k/xy/xy.txt

XY 0 is the last (and purest) version of this idea.


> 
> -- 
> 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.
> 



[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/concatenative/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/concatenative/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/