Alpha.16 · standard library

Nested bytecode execution

Execute bytecode synchronously in a nested VM. This is not an operating-system subprocess.

These pages describe alpha.16. Host I/O requires the native toolchain; browser capabilities are limited. Browse the stdlib guides.

All standard library modules

Execute bytecode synchronously in a nested VM. This is not an operating-system subprocess.

Import

import stdlib/runtime/bytecode as bytecode

run()

run(data: Bytes, arguments: [Str]): Void

Parameters

  • data: Bytes — compiled Panack bytecode.
  • arguments: [Str] — arguments for the nested invocation.

Returns: Void.

Runs the nested bytecode through the VM. This is an ordinary effectful call: it is not allowed as an async handler operation. For operating-system programs, use process.run.

Errors: Bytecode verification and VM failures are runtime diagnostics, not a Result returned by this API.

Implementation: view source on GitHub.

Keep exploring

Explore Panackelty.