HackerByte

NormalScript: A perfectly normal scripting language

Introduction and features of a new scripting language called NormalScript.

AI-generated summary

NormalScript is a new, lightweight virtual machine designed to embed a subset of JavaScript within existing Node.js or Bun applications. It enables applications to execute untrusted or agent code securely by compiling it to bytecode and running it within a compact VM, allowing for scripts to be paused, saved, and resumed without operating a separate runtime. The system prioritizes small size and speed, offering a clear API for host functions and script execution.

Hacker News submitter: hn-aarvin

Submitted to Hacker News:

Original source Hacker News discussion