# NormalScript: A perfectly normal scripting language

- HackerByte page: <https://hackerbyte.net/en/stories/introduction-and-features-of-a-new-scripting-language-called-normalscript-50651430>
- Original source: <https://psychoscript.com/>
- Hacker News discussion: <https://news.ycombinator.com/item?id=50651430>
- Submitted to Hacker News: 2026-11-26T04:32:26.000Z

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.

## Key points

- Embeddable JavaScript subset VM for Node.js and Bun applications.
- Supports pausing, saving, and resuming script execution state.
- Compiles scripts to bytecode for a compact virtual machine.
- Provides a simple Host API for integrating host functions.
- MIT licensed and aims for small size and fast execution.
