Re: [stack] Stack Shuffling Operator Mnemonics

"Christopher Diggins" <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
> > ab-aba
> > abc-abac
> > abc-cba
> > abc-cbac
> >
> > ...and the nice thing is, you don't have to think of all the combos
> > the users will ever need; they learn how to write one, and the rest
> > just fall out naturally. And if they users want to use xyz instead of
> > abc, no problem.
>
> and since something like -abac is syntactically illegal,
> you can just extend the syntax to have it mean abc-abac.
>
> waste not, want not.

The next logical step then seems to be to simply drop the "-", and use
the library defined "abac" function that I proposed. Now you don't
have to change the syntax of the language at all, which seems to be a
huge plus.

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