Hi everyone, I've been working on a JavaScript engine and runtime being able to use modern JavaScript features without needing a compliation/transpilation step. I've been utilising AI coding agents to help me with the speed of implementation.
GocciaScript is a strict ECMAScript 2027+ subset implemented from scratch in FreePascal. The engine ships both a tree-walking interpreter and a register-based bytecode VM and mark-and-sweep GC underneath. TS/TSX annotations are supported (and other TC39 proposals) and JSX are handled in a preprocessing pass before the lexer ever sees them. Still very much a work in progress — pre-1.0, the bytecode/VM path and embedding still need quite a bit of work. Keen to get some feedback, there is so much more work to do and I'd love to get opinions on where I should focus more (embedding, spec compliance against ES262, sandboxing/isolation).
At the moment it's passing around 42% of the
official test262 suite.
Website:
https://gocciascript.devGithub:
https://github.com/frostney/GocciaScript