Kerneljs is a minimalist javascript interpreter with a nonblocking API in the style of the browser and nodejs. Read more about it here.
Kerneljs is still in early development. To build it, you must first build and
install V8,
libev, and
libeio. Then, simply run make && sudo make install to generate and install kernel.h, libkernel.a, and
the executable, kernel, which takes a javascript file name argument or reads
javascript from stdin.