pxx

Pxx is a Pascal and C compiler. Written in pascal, it self-hosts and cross-compiles — x86-64, i386, ARM (32 and 64), riscv, xtensa, and the ESP32.

Flagship: the ESP32, in Pascal and in Python. Pascal and nilpy compile to native code for the ESP32-S3, ESP32-C3 and classic ESP32 as an ESP-IDF component, with no interpreter on the chip; the examples have run on physical boards of all three. See ESP32 and getting started on the ESP32.

Beta 0.1 "Blaise" is out. Download it from GitHub (x86-64 Linux; source and prebuilt binaries in one tarball): ./install.sh --yes, then ./pxx hello.py hello. Plain Python in, a static native binary out. Release notes.

Beta 0.1 "Blaise" at a glance

Beta 0.1 "Blaise" (pin v452, September 2026). Development is ongoing: work continues on master, and fixes made since reach the next release. Sponsors are welcome: open an issue titled "Sponsorship" at https://github.com/yoctobyte/pxx/issues.

Features

Design

Limitations

Read more → · Documentation · Compliance