Alternative jvm languages

Apr 23, 2013 at 4:57pm

Alternative jvm languages

I’m curious if anyone has played around with languages other than java on the jvm for writing max/msp externals? I compiled some simple externals using Scala this morning, and it seems, to me at least, that could be interesting to write msp objects in a functional manner.

#67904
Apr 23, 2013 at 10:59pm

A couple here:

https://github.com/cassiel/net.loadbang.jython

https://github.com/cassiel/net.loadbang.clojure

Adam Murray has also done Ruby.

I had a look at Scala several years ago and concluded that, while it compiles to the JVM, it can’t be embedded as as “live” interpreter, which is what I was after.

#244139
Apr 25, 2013 at 4:01pm

Clojure + nrepl is a great combination.

#244140
Nov 24, 2013 at 10:26am

I’m writing mxj patches in Scala and it works fine. The trick is to make sure the Scala library (scala-library.jar) is on your class path.

#273666
Nov 24, 2013 at 10:56am

Are you precompiling subclasses of `MaxObject` beforehand, or somehow loading Scala source into a dynamic system?

#273667
Jan 4, 2014 at 10:34am
#277397

You must be logged in to reply to this topic.