Can you mix the JVM languages? ie: Groovy & Clojure

前端 未结 6 867
难免孤独
难免孤独 2021-02-13 21:27

I understand that you can easily mix groovy&java, clojure&java, whateverJvmLang&java.

Does this also mean I can have clojure and groovy code interact as well

6条回答
  •  北荒
    北荒 (楼主)
    2021-02-13 22:19

    Clojure can be compiled to .class files via gen-class and used from Java like any other code; see here.

提交回复
热议问题