Repository navigation
Releases
v0.2.0 — collections & generics
v0.2 — collections & generics
list/dict/set/tuple + literals, comprehensions, slicing, methods; PEP 585/695 generics via monomorphization; --release profile (LTO); pycc.toml.
Acceptance criteria met (see docs/ROADMAP.md):
- A hand-authored container/generics corpus (list/dict/set/tuple, comprehensions, slicing, methods, generic functions) matches CPython output on all 5 Tier-1 targets.
nbody≥ 20× CPython in--release(12× on macOS aarch64 per D-095, 15× onwindows-latestper D-096, 18× onubuntu-24.04-armper D-101).- Conformance ≥ 15
docs/PYTHON_STANDARDS.mdmatrix rows green: PEP 238, 3105, 3107, 3131, 414, 484, 498, 515, 526,dictinsertion order, 585 (coveringlist[int]/dict[str, int]/set[int]/tuple[...]as 4 separate fixtures under one row), 613, 695, 709, and 594 "dead batteries" removals — exactly 15 rows spanning 17 distinct PEP fixtures.
Also since v0.1:
pycc.tomlproject config +pycc initscaffolding.--releaseCLI flag with LLVM O3 whole-module optimization.list[int]/dict[str, int]/set[int]/tuple[...]with literals, slicing, comprehensions, and container methods.- PEP 585/695 generic functions via monomorphized call-site substitution.
Release verification: hook-install-check.yml run 30894980868 passed pre-commit validate-manifest/try-repo on all 5 Tier-1 targets against this exact revision (see docs/DISTRIBUTION.md).
Full diff: v0.1.0...v0.2.0
v0.1.0 — hello, binary
v0.1 — "hello, binary"
Functions, int/float/str/bool, arithmetic, comparisons, if/while/for+range, f-strings (basic), print, module-level code, recursion. Frontend: strict annotations (T0001), local inference. Backend: LLVM debug builds, vendored parser allowed.
Acceptance criteria met (see docs/ROADMAP.md):
fibandmandelbrot-asciicompile and match CPython output on all 5 Tier-1 targets (Linux x64/arm64, macOS x64/arm64, Windows x64).pycc checkclears its <50ms/1000 LOC throughput floor.- Error diagnostics match
docs/CLI_SPEC.md's documented example. - CI matrix live on all 5 Tier-1 targets.
- 100% line+region coverage gate green on every crate (D-014).
This is the compiler's first working slice: parse → HIR → strict type-check → MIR → LLVM → native binary, for a small but real subset of typed Python.