asomiya 0.2.0

Limits and safety

Asomiya programs can only print text and read input. They can’t open files, use the network or run other programs, so running someone else’s code is safe. These limits keep it that way.

RiskProtectionError
Endless loopsStops after 10,000,000 steps (--max-steps)R008
Endless recursionCall depth limit of 500 (--max-depth)R009
Deeply nested codeParser nesting limitP010
Huge text or listsText up to 10 million characters, lists up to 1 million itemsR019
Hidden code (“Trojan Source”)Invisible control and direction characters are rejected in text and commentsL008
Terminal tricksError messages show control characters as visible symbols
Look-alike namesZero-width joiners only allowed inside Assamese lettersL001

In the playground

  • Programs run in a separate background thread (a Web Worker), so the page never freezes, and the Stop button can end any program.
  • Output is always shown as plain text, never as HTML.
  • Shared links show the program but never run it until you press Run.
  • A strict Content Security Policy blocks any script that isn’t ours, and the page can’t send data anywhere.

Found a security problem? Please report it privately: see SECURITY.md.