[Web-SIG] [Fwd: Summer of Code preparation]
Bill Janssen
janssen at parc.com
Mon Apr 17 22:38:45 CEST 2006
> > It's getting very hard to do good Web-page-understanding without a
> > javascript interpreter. Ideally, this would execute in a Python
> > context so that each Javascript call (or statement, or expression
> > evaluation) could invoke Python code to do introspection over the
> > activity.
>
> Do you mean like implementing the DOM in Python, and providing DOM
> objects to Javascript? Or actually watching the Javascript execute at
> some level?
I meant actually watching the Javascript execute, though of course
providing the DOM as Python objects would be, as you say, a bare
minimum. One way to this would be to translate the Javascript into
Python, and use existing introspection hooks to watch the Python
execute.
Bill
More information about the Web-SIG
mailing list