Skip to main content

Module vm

Module vm 

Source

Structs§

RunResult
Result of running a Zapcode program.
Vm
The Zapcode VM.
ZapcodeRun
Main entry point: compile and run TypeScript code.

Enums§

VmState
The result of VM execution.

Functions§

eval_ts
Quick helper to evaluate a TypeScript expression.
eval_ts_with_output
Evaluate TypeScript and return both the value and stdout output.