Tiny javascript implementation? [closed]

末鹿安然 提交于 2019-12-02 15:48:36

Duktape is written in C, with a focus on portability and compact footprint: http://duktape.org/

Coder of Salvation

I just discovered this ruby: https://github.com/gfwilliams/tiny-js

I've been looking quite some time for this, since spidermonkey/v8 usually is pretty big and comes with several dependancies. Tiny-js is a portable 'run make and your done'-linux c-class. Perfectly for if you are only looking for simple bindings and prefer javascript/c-syntax over lua/other awesome scriptinglanguages.

An ANSI-C engine for ECMA-262: http://code.google.com/p/quad-wheel/

Mozilla SpiderMonkey is written in C as well, but probably to complex and large for you?

SpiderMonkey is Mozilla's C implementation of JavaScript.

http://www.mozilla.org/js/spidermonkey/

muJS from Artifex Software might be another option for embedded JS/ES implementation.

You should look at Jsi, which was just released. It is very small, is a subset of javascript, and is in C (derived from quadwheel).

I think the jsi he's talking about is this: http://pdqi.com/cgi-bin/cgiwrap/pdqi/jsi.cgi/doc/tip/jsi/www/usingjsi.wiki

(Don't blame it is not... hehe)

http://jsish.org will redirect you to the host site.

https://github.com/cesanta/v7 is designed for embedded systems. Has very small footprint.

Have you looked at JerryScript?

If you are completely expect a full Node.js runtime at embeddable, ShadowNode might be a good for you.

https://github.com/Rokid/ShadowNode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!