[plt-scheme] eval and define (fwd)

From: Danny Yoo (dyoo at hkn.eecs.berkeley.edu)
Date: Thu Dec 28 13:47:45 EST 2006

[Forwarding to the PLT Scheme list]

---------- Forwarded message ----------
Date: Thu, 28 Dec 2006 18:57:48 +0100
From: nik gaffney <nik at fo.am>
To: Danny Yoo <dyoo at hkn.eecs.berkeley.edu>
Subject: Re: [plt-scheme] eval and define

> That being said, what's the nature of the dynamically generated
> functions that you're building?  It might be that, if things are
> restricted enough, that you can do without eval.  Can you give us more
> details?

at the moment, im experimenting with a simple graph based visual language and
since it uses sexps as an intermediate form, eval suggests itself as the path
of least resistance. the generated functions are built from an arbitrarily
selected [sub]graph, which is reduced to a single node. the node corresponds
to the new function.

it seems like its a situation where eval is appropriate, but im curious about
any other approaches you would suggest.

regards,
nik




Posted on the users mailing list.