Skip to content

tsoxTypeScript semantics, in Rust

A type checker you can run as a command, a language server, or WebAssembly. Early, honest, and open to your reports.

How it fits together ​

Oxc parses and binds. tsox owns everything after that.

  1. OxcParser and semantic information
  2. BridgeBehaviour that depends on the AST
  3. Semantic layerType arena, subtyping, generics, narrowing
  4. Diagnostics and factsWhat the checker found and knows
  5. ToolingCommand line, language server, WebAssembly

The reasoning behind this split is in architecture.

Where it stands ​

How the checker does on 98 small programs, each with one deliberate fault, compared with tsc.

70match tsc
20quiet gaps
5different codes
3false positives

Measured on 2026-11-04 against tsc 6.0.3. A false positive is an error tsc does not report.

The probes, the gaps and how the numbers are produced are in language coverage. Results on the compiler's own tests are in the conformance baseline.

MIT OR Apache-2.0