Rich wrote somewhere that he wanted to make it possible for Java applications to build Clojure s-expressions dynamically and pass them to an embedded Clojure compiler/evaluator.
I'm not talking about evaluating strings of Clojure-syntax text. I'm talking about building up the actual s-expressions from symbols and lists and objects such as integers and strings. Can I, for instance, create a new s-expression object of some kind in Java and bang on it (or functionally construct it), adding new elements until I have a full s-expression, and then pass it to a Clojure evaluator object, getting an s-expression as output? Does doing this have an easy API? If so, could someone provide a quick example? How, in particular, are the s-expressions constructed, and how is the evaluator instantiated and called? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---