Typhon

Python, checked before it runs.

Typhon is a stricter superset of Python. tyc type-checks it, then compiles it to plain CPython 3.13 with nothing extra to install.

Install guideWhat tyc checks

~/hellotyc 1.0.0-beta.2
$ tyc init hello && cd hello
Initialised Typhon project `hello` in ~/hello

$ tyc check src/
── errors in src/main.ty ──
tyc::nullable_use

  × possibly-None value used where `str` is required
    ╭─[src/main.ty:11:11]
 10 │     let user: str? = find_user(1)
 11 │     greet(user)
    ·           ──┬─
    ·             ╰── value is `str | None` here
    ╰────
  help: guard the value with `if user is not None:` to narrow it to `str`

# add the guard, then check again
$ tyc check src/
checked 1 file(s) — no errors
$ tyc run
hello, ada

Real output from tyc 1.0.0-beta.2. The path is shortened and the error's doc link and summary are left off.