Back to portfolio

TypeScript-to-native compiler experiment

TS-Native

TS-Native is a compiler experiment for translating a TypeScript-flavored language into native binaries. The interesting part is not just code generation; it is the design pressure created when ergonomic syntax meets static analysis, IR design, and machine-level output.

Pipeline

Parser to native output without pretending the hard parts do not exist

  • Parser crate for turning TS-like syntax into an internal representation.
  • Type analysis layer for reasoning about the language beyond surface syntax.
  • TS-Native IR as a bridge between source semantics and backend codegen decisions.
  • LLVM-backed code generation for producing native output from the IR pipeline.

Current focus

Why it belongs in the portfolio now

  • Tightening the formal language specification so the compiler is defined by rules instead of implementation accidents.
  • Making the pipeline legible enough that future experiments in optimization or runtime strategy remain possible.
  • Using the project as a forcing function to understand parsing, type systems, and lower-level systems design more rigorously.

Stack

RustLLVMParser designType systemsCLI