Search code examples
javascriptinterpreterv8

Python-like JS Interpreter using V8


Inspired by node.js, I decided to look for a standalone, Python-like JavaScript interpreter using V8 (which is faster than Python in some cases). I haven't found any solution besides one standard library project on github, which seems dead and poor man's "shell" from V8 samples.

Features I'm looking for:

  • extendibility,
  • rich standard library,
  • possibility to save compiled bytecode,
  • easy to write for,
  • great OOP features,
  • multi-platform.

Question is: have you ever heard of such JS interpreter?


Solution

  • You might want to look at Coffee Script. It has a nice clean syntax, compiles to JavaScript, and borrows ideas from Python and Ruby. http://jashkenas.github.com/coffee-script/