Re: [stack] Advantages of cat, joy ..?
Stevan Apter <[email protected]>
| Newsgroups | gmane.comp.lang.concatenative |
|---|---|
| Message-ID | <[email protected]> |
> > Nonetheless I'm starting to see your point in this language, I think. > Every function takes and produces one datum, which is a tuple. > Meanwhile, a literal tuple is also a function of one argument, and that > argument will be passed to all of the components of the list. > > Conceptually, the big difference between this and a stack-based language > -- if I'm reading it correctly -- is that this language uses a data tree > rather than a data stack. That's fascinating! this is starting to look/sound like enchilada. robbert? > > So how do nodes of this tree get constructed? I can see that once > they're constructed your language can pass them around and generate new > trees (or, equivalently, mutate the existing tree), but I don't see how > to express a cons. > >> - John > > -Wm > > >