New
Popular
Trending
Tags
Models
Channels
Favorites
History

Eagle Craft Javascript Runtime Link

1. Overview Eagle Craft JavaScript Runtime (ECJR) is a lightweight, standalone JavaScript runtime environment designed for embedded systems, game scripting, and edge computing. Unlike traditional runtimes such as Node.js or Deno, which are built on V8 (Chrome’s high-performance engine), ECJR is built from the ground up with a focus on small memory footprint , deterministic execution , and easy embeddability into C/C++ or Rust applications.

ec_context_free(ctx); ec_runtime_free(rt); return 0;

const char* script = "console.log('Hello from Eagle Craft');"; ec_value_t result = ec_run_string(ctx, script, "<main>");

if (ec_is_error(result)) const char* err = ec_stringify(ctx, result); fprintf(stderr, "Error: %s\n", err);

#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);

eagle craft javascript runtime