Skip to content

py4 Documentation

A statically-typed, Python-like language that compiles to readable C.

Introduction

Learn what py4 is, what it is not, and why it exists. Read more →

First Program

Write, transpile, and run your first py4 program in minutes. Get started →

Language Reference

Types, functions, classes, enums, control flow, imports, and expressions. Browse reference →

Standard Library

math, strings, chars, io, json, testing — all documented. View stdlib →