in Processing with Other Languages • 2 years ago
So, this is a Maven2 project that builds a self-contained JAR with whatever libs you specify in the pom.xml, but has been specifically built for Processing 1.5 + GLGraphics 20110411 and GNU Kawa
GNU Kawa is a Scheme / Lisp interpreter and compiler that sits on top of Java and can either run scripts or compile .class files.
The end result is code that looks something like this:
I don't know Scheme and have been wanting to learn Clojure, Scala, etc, but came across Kawa and had some time to play with it last night. I haven't explored very much with it, and the above sketch is rather arbitrary and thrown together. I am looking into how it handles reflection and what could be done to assist live coding, as well as what sort of Lisp like structures can be derived.
I looked at Clojure based sketches, and it seems like this Kawa makes things more "clean" if there is such a thing, but was wanting the opinion of others on the topic, or if anyone knows more or has used Kawa at all.
The performance (well, mostly because of the new GLGraphics) is really great. Compiling to .class files works great as well.
Kawa is available here:
somewhere someone said Kawa was "the best free utility no one has heard about" :D