Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a JavaScript (ECMAScript) implementation written in Python?

Are there any JavaScript (ECMAScript) implementations written in pure Python? It is okay even if its implementation is very slow.

like image 880
minhee Avatar asked Sep 17 '11 00:09

minhee


1 Answers

Doesn't seem to be under active development anymore but you could check out pynarcissus, http://code.google.com/p/pynarcissus/source/browse/trunk/jsparser.py

Seems like a binding to V8 (JavaScript interpreter in Google Chromium) is available also, http://www.advogato.org/article/985.html

like image 116
basicxman Avatar answered Sep 22 '22 09:09

basicxman