Galfus
VM-First Scripting Language

Small. Portable.
Deterministic.

A highly modular interpreted scripting language built around typed source code, an in-memory executable graph, and a deterministic VM runtime.

main.gfs
import { println } from 'std/io' export fn main(args: [[u8]]): i32 { println("Hello from the Galfus Embed!") println("Try changing this code and pressing Run.") return 0 }

Core Features

Designed from the ground up to be safe, fast, and embeddable.

VM-First & Portable

Bytecode and interpreter structures dictate the design, making the VM highly portable. Easily embed Galfus in larger native applications like game engines or databases.

Deterministic Memory

No global garbage collector. Galfus utilizes an ownership graph built on Anchors and Edges, ensuring resources are released deterministically and safely.

Type Safety

Fully typed syntax with static type inference. Validate assignments, function calls, and expressions securely before execution.

Modular Workspace

Avoids magic conventions. Cross-module resolution supports local file imports, named imports, and explicit exported declarations.

Why "Galfus"?

The name Galfus comes from Galafus, a figure from Pernambuco folklore associated with will-o'-the-wisp phenomena. The wandering flame represents a runtime that is small, lightweight, and able to float effortlessly across hosts and environments.