Hi Nicolas, Thanks for you response. This is an experimental work. Knowing that there was clojuratica to link to mathematica .. I was hoping that we can generate the code to solve PDE .. This is an experimental thing .. But been having a lot of trouble in getting the basic stuff setup .. being able to do what I described above would be crucial to achieve this. and between .. I didn't find any other examples of the usage of &env and &form apart from their presence in the clojure/core.clj. It would be nice to have some description of the usage of these things. Thanks again, Sunil.
On Wed, Oct 27, 2010 at 7:17 PM, [email protected] < [email protected]> wrote: > You need to use both eval and a macro to get then environment. > I think &env contains the lexical environment in any macro call now. > (I don't know in each form though). > So you need to walk the term, looking for free variables, close under > free variables by creating a function and then call eval. > > That's probably quite some work to write. > > Altogether, it looks like at least a step too far. (Especially some > kind of problem may arise: what of (+ x y ((fn [z] z) 3))?) > But I know sometimes it is necessary to go a few steps further than we > should. > > What is the use case? > > Best, > > Nicolas. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected]<clojure%[email protected]> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
