[Zope-Moz] Python Interpreter in Mozilla

brk@jenkon.com brk@jenkon.com
Fri, 17 Mar 2000 10:05:02 -0800


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?


> -----Original Message-----
> From:	Jake Kauth [SMTP:jake@market-channel.com]
> Sent:	Wednesday, March 15, 2000 3:57 PM
> To:	brk@jenkon.com
> Cc:	zope-mozilla@zope.org
> Subject:	Re: [Zope-Moz] Python Interpreter in Mozilla
> 
> brk@jenkon.com wrote:
> 
> >         If I could just put python into XUL documents and have it work,
> why,
> > I'd be a happy man. But you have to have an interpreter first. Anybody
> know
> > enough about the JSConnect stuff to have a guess at how hard it would be
> to
> > do the same for python? Or maybe JPython?
> 
> this is something i brought up on the list a few weeks ago, and the
> application 
> at http://204.107.76.15/pub  is exactly the kind of thing that i was
> thinking 
> about, i.e. a true end-user application that integrates with the web via
> XUL.
> 
> the application above is written in XUL and javascript, but i agree i
> would
> love to 
> see something where i can have the clean object syntax of python but the
> power (and ubiquitousness) of XUL.
> 
> 
> jake
> *****
> 
> _______________________________________________
> Zope-Mozilla maillist  -  Zope-Mozilla@zope.org
> http://lists.zope.org/mailman/listinfo/zope-mozilla