fusabi-vm

Crates.iofusabi-vm
lib.rsfusabi-vm
version0.35.0
created_at2025-11-24 02:54:34.58397+00
updated_at2025-12-14 08:10:10.324705+00
descriptionVirtual Machine for Fusabi language
homepage
repository
max_upload_size
id1947296
size957,337
Aaron Brewbaker (beengud)

documentation

README

Fusabi VM

The high-performance bytecode virtual machine for the Fusabi scripting engine.

Features

  • Stack-based: Efficient execution model.
  • Garbage Collection: Simple reference counting (Phase 1), moving to Mark-and-Sweep (Phase 4).
  • Host Interop: Safe, re-entrant API for calling Rust from scripts and vice-versa.
  • Serialization: Load pre-compiled .fzb bytecode.

Usage

use fusabi_vm::{Vm, Value};

let mut vm = Vm::new();
// Register standard library
fusabi_vm::stdlib::register_stdlib(&mut vm);

// ... load chunk ...
// vm.execute(&chunk)?;

License

MIT

Commit count: 0

cargo fmt