Nathan J. Morton

Open-source Zig tooling for C and TypeScript developers

zigc

C/C++ package manager powered by Zig

Scaffolding, dependencies, builds, and binary inspection — no build scripts by hand. Built on Zig’s build system.

  • • zigc init
  • • zigc add
  • • zigc build / run
  • • zigc check
  • • zigc verify

zigtsc

TypeScript subset → C transpiler

A compiler written in Zig that transpiles a strict subset of TypeScript directly to idiomatic C. No Wasm intermediate. No runtime.

  • • Direct TS → C
  • • Written in Zig
  • • Type-driven codegen
  • • Pairs with zigc

zigc-bustub

Migrating BusTub from CMake to zigc

A walkthrough of recreating CMU’s BusTub RDBMS as a greenfield zigc project with vendored dependencies hosted on S3.

  • • CMake → zigc
  • • Vendored deps
  • • S3-hosted registry
  • • BusTub RDBMS

Live previews

zigc.nathanjmorton.com
zigtsc.nathanjmorton.com
zigc-bustub.nathanjmorton.com