Skip to content

sfo-mb

0.1.1 @jtenner

A fully tested System F-ω style typechecker in MoonBit, featuring higher-kinded types, traits, recursive types, borrow checking, and import/rename tooling.

sfo-mb

sfo-mb is a MoonBit port of a System F-ω style typechecker with a focus on explicit type theory features:

The project is intentionally small in surface area but heavy on correctness. It has hundreds of tests and explicit whitebox coverage for both core typing behavior and borrow-specific error paths.

If you are building compilers, language tooling, or type-driven APIs, this is a good reference implementation for a practical, stateful algorithmic type checker.