Hi, While hacking on counterclockwise I noticed that the clojure.lang code uses a lot of static variables and methods. As far as I can tell this makes it almost impossible to have two or more separate instances of the clojure running in one application. Other JVM hosted scripting languages allow the creation of "runtime" objects that encapsulate the runtime state, and thus allow several instances without having them step on each others toes.
Would something like this be possible with clojure? I think pushThreadBindings() might be of some help for that, but I'm not quite sure that would work. Is there any hope the RT could become a proper object? It would probably mean passing it to all involved classes (Compiler, Namespace, etc. ). I hope I am not committing a cardinal sin asking for objects for a functional language... Cheers - Manuel Woelker --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---