An unofficial, read-only Hacker News reader. Join the beta →

NormalScript: A perfectly normal scripting language (opens external site)

127 points by hn-aarvin 2 days ago | psychoscript.com | 30 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. I’m fascinated and slightly baffled. This would be a great fit to embed in runtimes that aren’t already running JavaScript. But it appears to be written in JS itself?
    Replies (1)
    1. The GitHub text seems to be a better explanation of what it is for: "Programs are compiled to bytecode and run on a VM with no ambient access: no file system, network, process or timers. The only way a program reaches the outside world is through the host functions you give it. A run can be suspended while it waits, saved to bytes, and resumed later, in the same process or another one, with the same result. Use it to run code you don't fully trust (from a model, a user, a plugin) against an API you control, and to keep long-running programs alive across restarts.". However I don't know if this is real or just a joke. Click on "Review capabilities" to see the Psychoscript display that people are talking about if you haven't seen it already. Same happens with "Request a demo" or "Download white paper".