Since we had this discussion I've been using Jython in Clojure and
I've been growing a little library to make things easier. I decided
it was useful enough to make live (though probably far from complete,
seeing as my use case has been solely on one python library, nltk).
http://code.google.com/p
Thanks again Marc, I made a note of it on the StackOverflow thread.
On Jan 25, 2:41 pm, Marc Downie wrote:
> On Mon, Jan 25, 2010 at 5:34 PM, rob wrote:
> > Thank you for these good ideas! I'm going to try it. My goal is to
> > use the Natural Language Toolkit in Clojure. I also posted the s
Thank you for these good ideas! I'm going to try it. My goal is to
use the Natural Language Toolkit in Clojure. I also posted the same
question here: http://stackoverflow.com/questions/2129253/clojure-jython-interop
Rob
On Jan 24, 7:08 pm, Eric Lavigne wrote:
> > I was wondering if anyone ha
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
> 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
On 25 tammi, 00:26, 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 other java cod
> 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 other java code, and Python programs
> can be run with