ReefVM/src/index.ts
2025-10-05 13:43:13 -07:00

8 lines
226 B
TypeScript

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