import type { Bytecode } from "./bytecode" import type { Value } from "./value" import { VM } from "./vm" export async function run(bytecode: Bytecode): Promise { const vm = new VM(bytecode) return await vm.run() }