March 25, 2003

SpiderMonkey

This is cool: SpiderMonkey. It's a freely available embeddable JavaScript engine implementation, written in C. It's presumably under the MPL.

It would be nice to build a scripting engine into Programmers Notepad at some point - something like either JavaScript or Python would be good. One to keep an eye on.

I don't know about the consequences of using MPL code with PNs open-source license. If anyone has any ideas on that, please comment...

Posted by Simon at March 25, 2003 01:58 PM
Feedback

I'm no a lawyer, but AFAIK incorporating spidermonkey will not be a problem for an open-source project.

I believe that if you modify source code (e.g. add an API) that is covered by the MPL you are obliged to publish that source code.

You are not required to publish any propietary source code that interfaces with these modifications.

This was done so that mozilla could be integrated into closed-source projects, which is not possible with the GPL license. There are already a few projects out there that use mozilla source code, but are closed source, most notably ActiveState Komodo, there are also open-source projects that use code covered by the MPL like eclipse from IBM which uses Rhino (mozilla's implementation of JavaScript in Java, which BTW is absolutely brilliant).

Keep up the great work on PN!

Posted by ruairi at Mar 26, 2003 2:31 PM