On Mon, Oct 12, 2009 at 6:55 PM, Garth Sheldon-Coulson <g...@mit.edu> wrote:
> Yes, but for present purposes I'm stuck in Java proper. > > I'll try using Clojure's compile to build a Java class with a method that > builds an s-expression based on its arguments and evals it. If this works it > will be simpler than constructing clojure.lang.* objects and > Compile.eval()ing them. Just write a "macro" with defn instead of defmacro, proxy it, and call it from Java using whatever interface. It should return a Clojure data structure suitable for Compile.eval()ing. That is, use proxy with a function body that returns a backtick expression or whatever. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---