As Chas says, RT.var() is probably your easier point of entry here.

I use Clojure as a scripting language within a JVM-based application
(not Java, but it uses Java interop to access Clojure) and the
patterns I use are:
* clojure.lang.RT.var( "the.namespace", "some-name" ) - get a
reference to the.namespace/some-name
* clojure.lang.RT.var( "clojure.core", "load" ).invoke( "filename" ) -
to load a source file from the classpath
* reference.invoke( my, args ) - to call whatever var is in the
reference (like the clojure.core/load example above)

Sean

On Thu, Nov 3, 2011 at 7:21 AM, iamcreasy <quazir...@gmail.com> 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

Reply via email to