[Zope-Moz] Python Interpreter in Mozilla

Martijn Pieters mj@digicool.com
Fri, 17 Mar 2000 20:04:45 +0100


On Fri, Mar 17, 2000 at 10:05:02AM -0800, brk@jenkon.com wrote:
> On Martijn Faasen's advice, I took a quick look at:
> 
> http://lxr.mozilla.org/mozilla/source/js/src/perlconnect/README.html
> 
> Which is a way to use Perl from Javascript. It's interesting, but it 
> seems
> to be for operations such as:
> 
> <script language = 'Javascript'>
> p = new Perl()
> p.eval(<some perl stuff>)
> </script>
> 
> Whereas I'm looking to be able to do something more like:
> 
> <script language = 'Python'><![CDATA[
> def foo():
> 	print "Hello, world."
> ]]></script>
> 
> Any ideas where to start? Anyone capable of giving an architectural 
> overview
> of what this would take?

I think you the people residing at the Mozilla.org newsgroups would have 
any idea. Right now, I only have experience with XPCOM from the Javascript 
point of view.

-- 
Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------