chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] problems with datatype and eopl 3-5


From: Ulrich Vollert
Subject: Re: [Chicken-users] problems with datatype and eopl 3-5
Date: Tue, 24 Apr 2007 22:04:37 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

This is my experience, too - datatype.egg doesn't work together with sllgen.scm and 3-5.scm as stated in EOPL.

I found out that for instance

   (scan&parse "3")

answers

   (a-program (lit-exp 3))

which "looks" right but is not accepted by eval-program as a valid program which means that

   (eval-program (scan&parse "3"))

produces an error (bad argument type to 'cases').

But....an additional eval helps...so

   (eval-program (eval (scan&parse "3")))

works....!

Regards,
Ulrich

From: Zbigniew <address@hidden>

Neither one works.  I think datatype.egg may be incompatible with the EOPL code.

On 4/23/07, felix winkelmann <address@hidden> wrote:
To use the "datatype" extension, then use
"require-extension" (or "use") to load the macros,
"require-for-syntax" is for obscure special uses, and
should normally not be used:

(require-extension datatype)





reply via email to

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