Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Extend DLTK/JavaScript model
Extend DLTK/JavaScript model [message #878925] Wed, 30 May 2012 08:12
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 127
Registered: July 2009
Senior Member
Hi,

I'm looking for documentation on how I can extend the DLTK/JavaScript model to supply my own import-mechanism. I've got a JS interpreter here that uses 2 JS functions built into the interpreter to source additional JS files. DLTK/JavaScript warns about any functions coming from such external files and I'd like to extend it to understand the semantics of these two functions.

I've looked into the org.eclipse.dltk.javascript.core.typeinfo extension point and experimented with that, but am a bit lost as to what public API I should look for to teach DLTK/JavaScript that my source() function acts like an import-statement.

Or would this require patching the DLTK/JS code? If so, where should I start looking there?
Previous Topic:Status of dltk.ruby.* plugins
Next Topic:(no subject)
Goto Forum:
  


Current Time: Fri Dec 27 02:48:12 GMT 2024

Powered by FUDForum. Page generated in 0.04201 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top