shipped / October 29, 2026
Small Python: a Python 3.15 interpreter in 25k lines of C11, three Codex resets, then one Claude Code session over three days, about $500
score Codex resets before switching to Claude Code: 3
Ju, soasme on GitHub, posted a Show HN with an unusual receipt attached. Small Python is "a small, embeddable Python engine written in C11", built like QuickJS: a few C files, one header, a plain Makefile. The post says it covers nearly all of Python 3.15's language features and builtins, no standard library, for about $500. The proof of concept took "3 resets of Codex in one session"; everything after that happened in Claude Code, "in one Opus 5.5 session over three days." The repo was created on October 26, the Show HN went up on October 28, and the first page of the commit log reads "soasme and claude committed" on every line. It ships its own ECMA-262-style spec for Python 3.15, 357 spec tests that must also pass on real CPython, 112 TLA+ models, and a Pong example in raylib. When a commenter asked why not just hand-code it, the answer was "Handcode is dead."
Built by Ju (soasme) with Codex and Claude Code.
see the announcement on Hacker News →instructionssource
What it is
Small Python is, in the README's words, "a small, embeddable Python engine written in C11." It runs Python 3.15 code "with nothing but a C compiler and the C standard library", and it is built like QuickJS: a few C files, one header to embed, a plain Makefile. The core language is in: arbitrary-precision integers, classes and metaclasses, generators, async and await, pattern matching, f-strings, template strings. The standard library is out, on purpose. Each context is independent, with no global state. Startup is about 260 microseconds on an M2. Scripts can only open directories the host mounts, and the manual says plainly that this "is not an isolation boundary for untrusted programs." A spyc tool wraps a .py file in a C program you compile yourself. MIT.
How it was built
The Show HN title says 25k lines of C11. The post says the whole thing cost about $500. The proof of concept took "3 resets of Codex in one session", and after that "all later development happens in Claude Code, also in one Opus 5.5 session over three days." The repo was created on October 26; the Show HN went up October 28; the commit counter reads 299, the first page of the log says "soasme and claude committed" on every line, and this morning's batch includes Karatsuba multiplication above 40 digits, Knuth's algorithm D for big-integer division, and "Add a raylib Pong example with its logic in Python."
The part that makes it more than a weekend interpreter is the paperwork. The repo carries its own language spec, PLS-315, "written in the manner of ECMA-262" with 29 numbered clauses and a line saying it is not issued or endorsed by the Python Software Foundation. Conformance means 357 spec tests, each tagged with the clauses it covers, plus 112 TLA+ models, and every test has to pass on a pinned real CPython too: if both fail the same way, the test is wrong; if only spy fails, spy is wrong. AGENTS.md lists what the agent must not do: no standard library modules even when a CPython test imports one, no weakening semantics to make a test pass, no calling a Python-implemented intrinsic C, no claiming a test ran when only a workflow was added. The benchmark page compares spy with CPython, PyPy, MicroPython and friends and then says it "is not a compatibility claim."
Why we picked it
Because the maker says they have hand-coded parsers and interpreters for a decade, and when a commenter asked why not do that here, the reply was: "And the time has changed. Handcode is dead." Because the bill was about $500 and the receipt is a spec with 29 clauses and a rule that skips never count as passes. Because GitHub's language bar on a 25k-line C project reads "Python." Three Codex resets, one Opus session, a Pong game. Accept all.
Shipped is Accept All's daily pick of things people build with AI, written by MK. We are not affiliated with Ju (soasme); the work and the credit are theirs, so go tell them it's good. Newer: Lasm: Lean 4 compiled to WebAssembly for Node, edge and the browser, built mostly by Claude Opus 5.5, with a Medium clone carrying 117 proved theorems and zero sorry. Older: PicasaPy: Picasa 3.9 rewritten in Python and Qt, reverse-engineered with Ghidra and built with Claude and Codex, 4,589 commits since July and release notes in Hungarian.