Re: [stack] stackless fixed-arity concatenative languages

John Nowak <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
On May 22, 2008, at 11:48 AM, Daniel Ehrenberg wrote:

> Well, there actually is a difference in semantics in a pure language,
> in the arities involved. Your bi@ can be used with a quotation of the
> type ( b c -- d ) for an overall type of ( b c b c -- d d ) whereas
> Factor's cannot. On the other hand, Factor's bi@ can be used for ( b
> -- c d ) for an overall type of  ( b b -- c d c d ) whereas yours
> cannot (though it could be used for ( b -- b c ) as ( b b -- b c c ).
> The type of dup dup dip might be something more like  A b (A -> C e /\
> C -> D) -> D e

Interesting. It seems the question going forward is if we want the  
language and type system to do away with all this confusion and over- 
generality or do its best to deal with it.

- John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.