I was going to bring up RedBridge as well. Here is Yoko Harada's presentation from RubyConf 2010. Around 14:07 she starts talking about examples of embedding JVM languages within one another (one of the examples is embedding the DataMapper library into a Clojure program). So, it's definitely do-able. Practical? I think that's a judgment call.
http://confreaks.net/videos/372-rubyconf2010-rubygems-to-all-jvm-languages On Jun 17, 12:14 pm, gaz jones <gareth.e.jo...@gmail.com> wrote: > this page explains a bunch of ways of calling jruby from java: > > https://github.com/jruby/jruby/wiki/RedBridge > > think i would have to have pretty good reason before doing this (like > wanting to use jruby as a user scripting language in a clojure app > maybe)... > > > > > > > > On Fri, Jun 17, 2011 at 11:08 AM, Phil Hagelberg <p...@hagelb.org> wrote: > > flebber <flebber.c...@gmail.com> writes: > > >> On Jun 17, 8:39 pm, Zlatko Josic <zlatko.jo...@gmail.com> wrote: > >>> No one question is stupid. Any jvm language can use jvm byte code. > >>> For example you can use Java libraries in Scala, Clojure,.. > >>> Of course sometimes it is not natural fit. > >>> For example if you use Scala in Java you have to know Scala compiler > >>> will generate set/get methods. > > >> So it is possible but not practical to call jruby from within a > >> clojure script? > > > It's easy to go the other way:https://github.com/technomancy/clojure-gem > > > -Phil > > > -- > > 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