Skip to content

Installation

Install the puy command from crates.io (Rust 1.99 or later):

Terminal window
cargo install puy

Save the following as hello.pas:

program Hello;
begin
WriteLn('Hello, Puy!');
end.

Run it:

Terminal window
$ puy run hello.pas
Hello, Puy!

More samples are in the examples/ directory of the repository.