Changeset [1df3a57b40072cc23e07ecb0c98630e37fa85b13] by Paul Davis

May 9th, 2009 @ 09:19 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/integer.c
  • M spidermonkey/integer.h
  • M spidermonkey/pyiter.c
  • M spidermonkey/pyiter.h
  • M spidermonkey/pyobject.c
  • M spidermonkey/spidermonkey.h
  • M tests/test-iterate.py
New-ticket Create new ticket

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.