Log inGet started
← Explore

ZeroJS

ZeroJS: a JavaScript interpreter for the Zero engine

World media
About this world

ZeroJS ZeroJS is a JavaScript runtime implemented for ZeroMind worlds. It allows JavaScript programs to execute inside the engine and interact with world systems through a controlled runtime environment. It includes a lexer, parser, AST interpreter, prototype-based object model, function semantics, error handling, regular expressions, promises, timers, and an event loop. Its standard library covers commonly used JavaScript APIs, including Array, String, Number, Math, Date, JSON, Map, Set, RegExp, and the standard error types. ZeroJS supports both synchronous and asynchronous programs and includes compatibility tests for language semantics, standard-library behavior, regex handling, promises, timers, and real-world JavaScript code. The runtime is intentionally scoped rather than browser-complete. Features such as generators, Proxy, Reflect, optional chaining, and tagged template literals are currently outside its supported surface. Known differences from browser JavaScript are documented explicitly. ZeroJS can be used to build programmable worlds, scripting environments, coding tools, game mechanics driven by user-authored JavaScript, and compatibility layers for JavaScript libraries running inside ZeroMind.

Comments · 0

Open discussion — no rating attached. Ask questions, swap notes, follow threads.

Sign in to join the discussion.