This looks really cool. I always wanted a small embeddable JS engine with a C interface. And it looks like you modelled the C API after the Lua C API? That is what I wanted as well.<p>Here are some related projects I saved links to. I think there were a few others.<p><a href="http://code.google.com/p/tiny-js/" rel="nofollow">http://code.google.com/p/tiny-js/</a><p><a href="http://adaptive-enterprises.com/~d/software/see/" rel="nofollow">http://adaptive-enterprises.com/~d/software/see/</a><p><a href="http://sourceforge.net/projects/njs/" rel="nofollow">http://sourceforge.net/projects/njs/</a><p>v8 is an obvious open source implementation, because it's packaged separately (and used in node.js), but its API is C++ and relatively complex. For a lot of applications, it's overkill.
Awesome. This is exactly what I wanted. Hopefully now I can make a standalone statically linked version jslint, lessjs, etc, so I can use them as part of my workflow without needing the whole flipping Node stack installed...
The idea is good, I remember that other projects like Avidemux integrate QtScript or Spidermonkey for scripting.<p>Has anybody experience, how the integration overhead is? Looks as this could be integrated very simply. The problem is, that it is in alpha stage and how stable and complete is it currently?
Is size the main selling point? 4 years ago or so, I integrated SpiderMonkey into a C++ program with relative ease; it has an easy to understand C API and no dependencies.
Why does the readme say "liberal license" when the license file is in fact "MIT license" Why hide the fact that it is under the MIT license? Why is there a folder called licenses and why does it contain an unfilled in license (Copyright (c) <year> <copyright holders>)?
If this is embedded in C++ I feel like you would be manipulating objects in the JavaScript scripts. JavaScript has OOP bolted on and it is not nearly as nice as Lua or similar alternatives. Why would a developer embed a JavaScript engine compared to something already existing?
It always amazes me how often topics I currently work on come up here. I am currently thinking about using <a href="http://www.chaiscript.com/" rel="nofollow">http://www.chaiscript.com/</a>
Is the name "Duktape" a reference to Perl [0]?<p>[0] <a href="http://www.salon.com/1998/10/13/feature_269/" rel="nofollow">http://www.salon.com/1998/10/13/feature_269/</a>