pingdotgg/ts-rust

An experimental Rust port of the TypeScript 7 compiler (tsc)

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

I wanted to see if LLMs could port the TypeScript compiler, checker and lsp to Rust. Turns out they can. It cost over $420,000 in tokens to do it, but you could probably have done it for $20k (see below) This is an early release. It has 100% compatibility in every real world project we have tested. It should work as a drop in replacement for the vast majority of apps. See Known problems. Also worth mentioning: I've never read a line of this code. Be warned, I have no idea if this will actually work. I used a lot of OpenAI models to try and complete this port. In total I did over $400,000 in API priced tokens with GPT-5.6 Sol and GPT 6 Astra. They wrote over 1.3m lines of Rust over multiple months of /goal loops and never got past like 84% compat. When I saw how…

pingdotgg/ts-rust on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-08T14:37:15.118Z

Inside the original README — Document outline
  1. ts-rust (aka tsc-rs)
  2. Motivations
  3. Warnings
  4. Install
  5. How did this go?
  6. "The Slop Line"
  7. What actually is this?
  8. Install
  9. Effect diagnostics
  10. Status
  11. Benchmark: T3 Code
  12. Benchmark: real-world apps

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

An experimental Rust port of the TypeScript 7 compiler (tsc)

Repository facts

Owner
pingdotgg
Primary language
Rust
Stars
603
Forks
36
Open issues + pull requests
7
License
MIT
Archived
No
Default branch
main
Created
2026-10-07T05:17:07.000Z
Last push
2026-10-08T11:38:30.000Z

Topics and intended use

Owner-supplied topics: compiler, rust, tsc, typescript

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-08T12:06:17.489Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

ultraworkers/claw-code

clash-verge-rev/clash-verge-rev

farion1231/cc-switch

openai/codex

rustdesk/rustdesk

rust-lang/rust