views:

87

answers:

3

Does anyone know of a JavaScript interpreter that has bindings to PHP or Python?

+1  A: 

You can try pyv8 - Google's v8 engine with Python bindings.

SB
+1  A: 

Try QtScript, from the Qt library:

from PyQt4 import QtScript
Edgar Bonet
+1  A: 

There's a previous discussion on embedding various languages into PHP.

re: Javascript in particular, Pecl Spidermonkey is mentioned; otherwise, not much to choose from.

ianmclaury