Anyone seen a Javascript interpreter in Python?

Brian Kelley bkelley at wi.mit.edu
Tue Dec 10 11:10:49 EST 2002


> I've never seen it actually done but it's not that bad idea and I've
> thought about it on various occasions, mostly for the purpose of
> writing robot web clients in Python that could deal with JS on
> downloaded pages.  Pythoneers don't like to admit it but Python's
> semantics are not that distant from JS's.

Tell me about it.  I wrote a XUL (mozilla's layout format) interpreter 
in python and was suprised to discover that all the JavaScript commands 
used as callbacks in their tutorials were also valid python commands.




More information about the Python-list mailing list