Do you need to use JSR-233? I can see that being useful if you aim to have multiple scripting languages available in the game. I don't know what the functional status of clojure-jsr233 is, but I doubt it would take much to bring it up to part in any case.
However, if Clojure will be the only scripting language you use, then you can execute Clojure scripts without a problem by just using RT.var (a static method in the clojure.lang.RT class), and various methods on clojure.lang.Var. There is some code in clojure-jsr233 that demonstrates exactly this, for obtaining references to core functions, and loading/evaluating code: https://github.com/pmf/clojure-jsr223/blob/master/src/de/torq/clojure/jsr223/ClojureScriptEngine.java Hope that helps, - Chas On Nov 3, 2011, at 10:21 AM, iamcreasy wrote: > I am going to make a game framework using jMonkeyEngine.site :: > jmonkeyengine.com > > I want to include live modification / any kind of end user > modification of the game through writing script. At first I was a bit > biased towards Groovy but now I want to integrate clojure as scripting > language in my framework. > > So far, I have only found an old **clojure-jsr223** project (whose > last update was on Feb 2, on this year). So, I am a little confused. > Is my choice is wrong as picking Clojure as a scripting language for > my game framework? Is there any good way to have Clojure working as a > scripting language with Java, at all? > > I am mostly familier with Imperative language family, that's why I > really want to learn a functional one, like Clojure. But, I need to > find a good bridge between this two. > > Thanks in advance for any kind of help. > > -- > 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 -- 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