developing an IDE for jython

Albert Cardona <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <CAJj13_8DX2e1P-5peOrATJQFBfX1cH2z2CbVsJWFui4_k50S4g@mail.gmail.com>
Hi all,

In Fiji--an open source java software for image processing--we have an
"Script Editor" [1] capable of executing a number of languages,
including jython.

I've written big chunks of it and I know its codebase reasonably well.

What I'd like to do is to add IDE features such as the ability to
select a name and jump to its definition, be it within the same file
(perhaps easier, and a good start) or some other file.

I understand that the org.python.util.PythonInterpreter has methods to
compile, but not execute, a bunch of code, returning a PyCode object.

Are there introspection methods in the returned PyCode that could be
used for the above purpose? Or how would you approach this feature?

Thanks for any suggestions.

Albert Cardona

[1] https://github.com/scijava/script-editor


--
Group Leader, HHMI Janelia Research Campus, USA.
Reader (Associate Professor), Dept. Physiol. Dev. Neurosci.,
University of Cambridge, UK.
https://albert.rierol.net
https://www.janelia.org/lab/cardona-lab/
https://www.pdn.cam.ac.uk/directory/albert-cardona
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.