Follow

Current quest: bending over the JSC GLib API to make it load some of Node's pure JS modules. Goal: “events.js” (for EventEmitter), first stop: the internal “primordials.js” module.

The first thing I'm missing is the ability to set an object's prototype, though I may be able to get away with defining a class that has the properties I need in the environment for modules that are being loaded, and using an instance as evaluation context.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!