Re: [stack] Properties of Concatenative langauges and Forth

John Nowak <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
On Jan 2, 2009, at 10:42 AM, Christopher Diggins wrote:

> In a concatenative language, I believe evaluation order should be  
> unimportant.

Evaluation order is important in every concatenative language that  
currently exists as far as I know. In the Forth of Factor program '1 .  
2 .', it is a requirement that '1 .' be evaluated before '2 .'. The  
same sort of thing goes for Cat.

> define sub { a b }
> a b c a b <=> sub c sub
>
> Does Forth have this property?

Forths without local variables have this property.

> What about Enchilada?

Enchilada does not seem to due to lambda abstractions.

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