Parser + VM Parity
CPython-aligned grammar, bytecode execution, and strict differential behavior gates.
Python in Rust
PYRS is a fully AI agent developed Python interpreter in Rust focused on CPython semantic parity, C-API closure, and production-grade runtime behavior.
Target CPython 3.14
Platforms Linux + macOS
Implementation Rust VM + stdlib parity
Real PYRS REPL captures from local runtime sessions.
CPython-aligned grammar, bytecode execution, and strict differential behavior gates.
Focused C-API closure for scientific-stack compatibility and ABI surface confidence.
Parity profiles, nextest checkpoints, and integrity audits drive launch readiness.
Install
Choose your platform, then pick the installation path that matches your workflow.
Recommended
One command install from GitHub Releases (defaults to nightly).
curl -fsSL https://raw.githubusercontent.com/BlueBlazin/pyrs/master/scripts/install.sh | bash
pyrs --version
Install from tip of master via Homebrew (default channel for macOS).
brew install --HEAD blueblazin/tap/pyrs
pyrs --version
Installs only the pyrs binary; requires local CPython 3.14 stdlib.
cargo install --locked --git https://github.com/BlueBlazin/pyrs --bin pyrs
pyrs --version
Recommended
One command install from GitHub Releases (defaults to nightly).
curl -fsSL https://raw.githubusercontent.com/BlueBlazin/pyrs/master/scripts/install.sh | bash
pyrs --version
Installs only the pyrs binary; requires local CPython 3.14 stdlib.
cargo install --locked --git https://github.com/BlueBlazin/pyrs --bin pyrs
pyrs --version
CPython-focused runtime and tools.
PYRS provides a compatible runtime tailored for real-world execution and practical development workflows.
01
Grammar behavior, bytecode execution, and runtime contracts are continuously aligned against CPython expectations.
Parser parityDifferential gatesRuntime contracts
02
Run Python from source files, modules, stdin, REPL sessions, or compiled bytecode with consistent interpreter behavior.
Source mode.pyc supportInteractive REPL
03
C-API closure is tracked as a first-class roadmap lane, focused on pragmatic extension compatibility for real workloads.
C-API closureNumPy gateABI coverage
04
Tracebacks, syntax diagnostics, and location metadata are shaped for high signal when debugging parity and runtime issues.
Traceback fidelityCaret spansLocation metadata