Scratch this until further notice. I've found

http://groups.google.com/group/clojure/browse_thread/thread/81383e59e65d54c/809aaad743aed9ff?q=embedded+group:clojure+rt#809aaad743aed9ff

http://groups.google.com/group/clojure/browse_thread/thread/d98cedb860f16a34/be7d6789964ec9c4?q=embedded+group:clojure+rt#be7d6789964ec9c4

and will come back to the list if (when!) I run into trouble.

Still, if anyone has a bare-bones example of a minimal Java program to get a
working Compiler.eval() on a dynamically-constructed s-expr-as-list, that
would be terrific to see.

On Mon, Oct 12, 2009 at 5:10 PM, Garth Sheldon-Coulson <
garth.sheldoncoul...@gmail.com> wrote:

> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to