Re: REPL integration in a existing java project

2009-10-02 Thread Marc Downie
We got started by staring at: http://github.com/pmf/clojure-jsr223 Although familiarity with the suboptimal jsr223 spec helped. (Unlike a server socket, this approach means that you can share parts of your host directly with the Clojure environment by binding var's. I find this either is, or at s

Re: gui repl

2010-01-04 Thread Marc Downie
Well, if people are in the mood for fun, hybrid, Clojure REPLs... The latest version of Field (a mac-only open source IDE for digital art) secretly supports Clojure as one of its embedded languages (screenshot here

Re: Jython interop

2010-01-25 Thread Marc Downie
> One approach is to compile the Jython code into a class file. This > requires some work on the Python side (similar to using gen-class in > Clojure so that Clojure code can be called from Java), and the Python > class of interest can't use multiple-inheritance. This approach is > discussed in the

Re: Jython interop

2010-01-25 Thread Marc Downie
On Sun, Jan 24, 2010 at 11:26 PM, rob wrote: > Hi, > > I was wondering if anyone has tried somehow calling Jython functions > from within Clojure, and how you went about doing this if so. I have > not used Jython, but I would imagine the Jython interpreter can be > invoked in the same way as any

Re: Clojure binding for Open CL

2010-02-10 Thread Marc Downie
Not sure about Clojure bindings but the "JavaCL" bindings (both "mid"-level and low level) might get you closer: http://code.google.com/p/javacl/ OpenCL's ugly and finicky API is crying out for wrapping in better languages; and the OpenCL language itself would ideally get "wrapped" as well (see: h

Re: clojure Image/video processing?

2010-09-06 Thread Marc Downie
On Mon, Sep 6, 2010 at 5:45 PM, Sean Grove wrote: > On Sep 6, 2010, at 2:57 PM, Robert McIntyre wrote: > > I was wondering if anyone has used clojure for image/video processing > and how that has worked out. > > We've been rolling our own, either using Apple's Core Image framework or our own Open