[plt-scheme] How to get a function from the symbol representingit?

From: Jos Koot (jos.koot at telefonica.net)
Date: Wed Apr 9 17:52:29 EDT 2008

I look forward to it.
To be precise, in the case of testing syntax error processing by macros, it 
is not the evaluation I use eval for. The code would not run anyway. I use 
eval to 'compile' the code and catch the syntax errors from the 'compiler'.
Jos

----- Original Message ----- 
From: "Carl Eastlund" <cce at ccs.neu.edu>
To: "Jos Koot" <jos.koot at telefonica.net>
Cc: "Grant Rettke" <grettke at acm.org>; "PLT-Scheme" 
<plt-scheme at list.cs.brown.edu>
Sent: Wednesday, April 09, 2008 11:42 PM
Subject: Re: [plt-scheme] How to get a function from the symbol 
representingit?


> On Wed, Apr 9, 2008 at 5:35 PM, Jos Koot <jos.koot at telefonica.net> wrote:
>>
>>  There is one case in which I use eval: test units that should recover 
>> from
>> syntax errors, particularly for tests on appropriate syntax error 
>> detection
>> and report by home made macros) I see no other way. Is there?
>
> Ah, that is a good point.  Since the purpose of testing is precisely
> to evaluate Scheme code, of course we use eval.  ;)
>
> I have a package of testing utilities for code with macros and/or in
> different PLT language levels.  I should release it ASAP, both to
> share code and to get some scrutiny to make sure my code is working
> properly.
>
> --Carl 



Posted on the users mailing list.