Re: [Pydev-code] Jython<->CPython for Scripting
Brought to you by:
fabioz
From: Don T. <nos...@gm...> - 2006-04-04 21:21:10
|
Fabio Zadrozny wrote: > I guess you could do it with some tool to embed cpython in java... > > There are some projects that say they support this (note that I never > tried any of those): > http://jepp.sourceforge.net/ > http://jpe.sourceforge.net/ > http://jpype.sourceforge.net/roadmap.html > Thanks for this. None of these seem to be ready for prime time and they are not really what I have in mind. I was wondering how to invoke existing CPython stuff from a Jython script in Pydev. Given that there does not seem to be anything worth using I am assuming that you run at least some of Pydev's Python code in a separate process rather that in-process? For stuff like BRM which I doubt you would have ported that to Jython. I wonder what else is in straight Python? Did you develop a standard protocol for this that could be exposed to the scripting interface? Or would it be straightforward to do this directly in Jython. In more general terms, it would be very interesting to read an architectural overview of the design of Pydev. Don. |