Carpentry with Duktape
summary
Duktape is an embeddable JS interpreter with a single-file C API (ductape.h and ductape.c) that runs ES5/5.1 with limited ES6 and supports CommonJS, cross-platform builds, and an integrated debugger. Example usage: eval a JS file, push arguments, duck_call, then duck_to_string to get results back in C; or register a C function with the required signature that returns a count of results. Creationix supplies libuv and curl bindings; performance favors tiny footprint over V8 speed.
AI-written summary · about
