views:

252

answers:

2

There are a few available and i want to support many platforms so i guess V8 isn't that good unless someone has written an interpreter patch for it.

+1  A: 

How about Spidermonkey, since it's written in C?

meder
+3  A: 

JavaScriptCore (the WebKit JS engine) has a pure C API that has guaranteed API and ABI stability -- you can build from source available at http://webkit.org but it's a system framework on macos, and is distributed at least in debian (-unstable?). It runs on all platforms as it has both an interpreter and a jit (which is stable on x86 and x86-64)

olliej