Eagle Craft Javascript Runtime -
#include "eagle_craft.h" int main() ec_runtime_t* rt = ec_runtime_new(1024 * 1024); // 1MB heap ec_context_t* ctx = ec_context_new(rt);
const char* script = "console.log('Hello from Eagle Craft');"; ec_value_t result = ec_run_string(ctx, script, "<main>"); eagle craft javascript runtime
Eagle Craft JavaScript Runtime fills a critical gap between heavyweight JS engines (V8, JavaScriptCore) and minimal scripting languages (Lua, MicroPython). It brings the familiarity of JavaScript to resource-constrained environments without sacrificing safety or embeddability. For developers building IoT devices, game modding frameworks, or plugin systems, ECJR offers a pragmatic, performant, and sandboxed solution. #include "eagle_craft
Example package.json for an embedded project: ec_value_t result = ec_run_string(ctx