ilusm.dev

sbx

sandboxed tree-walk eval: fresh env, capability copy from parent, optional fuel/stmt/depth/prn limits.

Load with: use sbx

Quick example

use sbx

result = sbxca("value", "value")
prn(result)

Functions

Functions

sbxca()

Performs the operation.

sbxca()

Performs the operation.

sbxca()

Performs the operation.

sbxli()

Performs the operation.

sbxca(a, b)

Performs the operation. Takes a, b.

sbxmk(par, caps, lim)

Creates a new instance. Takes par, caps, lim.

sbxru(par, src, caps, lim)

Runs. Takes par, src, caps, lim.

sbxru(par, path, caps, lim)

Runs. Takes par, path, caps, lim.

Notes

  • Sandboxing - isolate code execution, restrict syscalls.