Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] How to contribute an interpreter to an existing DLTK language

even in _javascript_ this is cant be done through the code,
we need a cleanup refactor for this what we do is using the plugin_customizations.ini:

org.eclipse.dltk.launching/org.eclipse.dltk.launching.PREF_INTERPRETER_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<interpreterSettings>\r\n<defaultInterpreter environment\="org.eclipse.dltk.core.environment.localEnvironment" id\="67,org.eclipse.dltk.internal.debug.ui.launcher.GenericRhinoInstallType13,1208964647620" nature\="org.eclipse.dltk._javascript_.core.nature"/>\r\n<interpreterType id\="org.eclipse.dltk.internal.debug.ui.launcher.GenericRhinoInstallType">\r\n<interpreter environmentId\="org.eclipse.dltk.core.environment.localEnvironment" id\="1208964647620" name\="Rhino" path\="servoy.ini"/>\r\n</interpreterType>\r\n</interpreterSettings>\r\n

so just preconfigure one there by default.
this works for us because the path isnt really important. the complete interpreter isnt even really used like that in _javascript_, there is no such thing as an executable...

johan


On Thu, Oct 2, 2008 at 7:52 PM, Lothar Werzinger <lothar@xxxxxxxxxxxxxx> wrote:
Hi,

I would like to contribute an interpreter to an existing DLTK language.
Specifically I want to use e.g. Jython inside the eclipse process, so that I
can expose some of our internal API to the script(s). I want to use the rest
of the DLTK Language support (editor, ...) as is.

How would I contribute an interpreter to an existing DLTK language (python)
and can I programmatically configure it, so that the users of our application
don't have to go through the steps to "add an interpreter" in the
preferences.

Lothar
--
Lothar Werzinger Dipl.-Ing. Univ.
framework & platform architect
Tradescape Inc. - Enabling Efficient Digital Marketplaces
1754 Technology Drive, Suite 128
San Jose, CA 95110
web: http://www.tradescape.biz
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top