Skip to content

Puy

An Object Pascal implementation modeled on the feel of writing Delphi code. Compiles to bytecode for a stackless VM written in Rust, aiming at native binaries, WASI and the browser from the same source.

Familiar Pascal

Delphi’s syntax, deterministic lifetime management, and the names of commonly used units and routines.

Modern features

Dynamic arrays, slices and collections follow modern languages such as Python, Go and Rust.

Safe by default

Mistakes are reported as compile errors or exceptions instead of passing silently.

Written by people and coding agents

Knowledge of Delphi carries over, and diagnostics come with suggested fixes and machine-readable output.