2014-02-18 16:00 GMT+04:00 Sunil S Nandihalli <sunil.nandiha...@gmail.com>:

> You can't call a clojurescript function from java. However you can call
> clojure-code from Java and clojurescript code from javascript.


I think the idea is to call a Clojure script (with a space) from Java.

Use clojure.lang.RT#var and clojure.lang.IFn#invoke to call
clojure.core/load-file
and similar clojure.core functions:

http://en.wikibooks.org/wiki/Clojure_Programming/Tutorials_and_Tips#Invoking_Clojure_from_Java
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to