chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] ANN: new egg, Stacktor


From: Graham Fawcett
Subject: Re: [Chicken-users] ANN: new egg, Stacktor
Date: Tue, 19 Feb 2008 09:23:58 -0500

On Feb 19, 2008 9:21 AM, Graham Fawcett <address@hidden> wrote:

> What I was trying to work out, personally, was a nice way of
> transforming a postfix, fixed-arity language into decent
> lexically-scoped expressions, e.g.:
>
> 20 dup print + 30 *
>
> might translate into
>
> (lambda (b) (let ((a 20)) (print a) (* 30 (+ 10 b))))

Oops, I meant

(lambda (b) (let ((a 20)) (print a) (* 30 (+ a b))))

You can tell I don't have a Quacktor REPL open right now.. ;-)

G




reply via email to

[Prev in Thread] Current Thread [Next in Thread]