Re: [stack] Re: the concatenative wikipedia article

John Nowak <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
On Dec 31, 2008, at 11:07 PM, Don Groves wrote:

>> 3. There's no reason that the data structure the functions operate on
>> be a list or a stack. I recently proposed a language using vectors in
>> the style of More's array theory. Earlier today, Chris proposed a
>> language based on a deque. I believe XY works on a stack/queue tuple.
>> Other possibilities are easy to dream up.
>
> The reason I picked "sequence" is that it seems to be the most basic
> ordered structure.

They need not be ordered. Consider a language that passed around a  
dictionary. Primitive operations would assume their arguments were  
stored at particular names. Essentially, it would be something like a  
register machine (as opposed to a stack machine).

No, it isn't *useful*, but I'm not sure if you'd want to exclude 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.