Changeset [c55ba399bc65621e10cf1ce92f8dffeeb421bb78] by Paul Davis
May 9th, 2009 @ 07:42 PM
Initial JS iteration of Python objects.
This passes the basic tests. I need to add a check to detect if we're doing 'for v in obj' vs 'for each (v in obj)' iteration as they behave differently in JavaScript. http://github.com/davisp/python-...
Committed by Paul Davis
- M go
- M spidermonkey/error.c
- M spidermonkey/pyiter.c
- M spidermonkey/pyiter.h
- M spidermonkey/pyobject.c
- M tests/test-iterate.py
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Python/JavaScript bridge module, making use of Mozilla's spidermonkey JavaScript implementation. Allows implementation of JavaScript classes, objects and functions in Python, and evaluation and calling of JavaScript scripts and functions respectively. Borrows heavily from Claes Jacobssen's Javascript Perl module, in turn based on Mozilla's 'PerlConnect' Perl binding.