NormalScript: A JavaScript Subset That Pauses and Resumes Agent Code

NormalScript: A perfectly normal scripting language

NormalScript: A JavaScript Subset That Pauses and Resumes Agent Code

NormalScript is a small, MIT-licensed virtual machine for a strict subset of JavaScript that embeds directly in Node or Bun applications. It compiles scripts to bytecode and runs them in-process, letting agents or plugins chain host calls with loops, branches, and Promise.all. Runs can suspend mid-execution, serialize to bytes, and resume later on the same build. It passes 19,408 test262 files with zero failures, though 2,845 known gaps remain skipped.

Nothing unusual happens here.
  1. lioeters

    Impressive and mind-melting. Eventually crashed my browser but it was worth it.

    Website is open source. https://github.com/anomalyco/psychoscript/tree/dev/website#r...

  2. andai

    It says "PsychoScript" now. (At the time of writing, submission is titled NormalScript: A perfectly normal scripting language.)

    Did the language rename/rebrand itself in the last 3 hours?

    Edit: It seems to change the page title and contents depending on your GPU configuration. (I can see it for a split second before it switches.) On my phone it says NormalScript and site looks very different.

  3. hn-aarvin

    The visualization revealed by clicking the smile has to

    be one of the coolest things I've seen on the web.

More from this day

2026-11-26