[stack] Re: Barebone implementation of concatenative language in c or c++

"pml060912" <[email protected]> Thu, 20 May 2010 14:32:38 -0000
Newsgroups gmane.comp.lang.concatenative,gmane.spam.detected
Message-ID <[email protected]>
--- In [email protected], "William Tanksley, Jr" <wtanksleyjr@...> wrote:
>
> John Nowak <john@...> wrote:
.
.
.
> > Laziness has nothing to do with it. Look at my example again:
> 
> Laziness is one of the things that can't easily be imported to a
> concatenative language.

Well, that depends on what you call lazy. For Furphy, I worked out an indirection mechanism that allows you to produce the effect of laziness even when everything actually encountered is handled eagerly: the pair FREEZE and THAW, although you would usually use prefrozen code set up with syntactic sugar instead of FREEZE. FREEZE, THAW, and the syntactic sugar alternative are all quite easy to implement and to use. P.M.Lawrence.