TSTS is the TypeScript compiler generated from Microsoft's pinned TS-Go source by the pinned GoToTS compiler.
This repository owns only product assembly:
- the exact TS-Go and GoToTS revisions;
- the selected Go build and translation profile;
- certified product-specific implementations;
- differential runtime and performance certification.
Canonical GoToTS output is first checked by pinned TSTS. The pinned TypeScript target then transforms that exact TS-Go AST using finalized marker facts, and a pinned Go TS-Go adapter prints the transformed AST. The target declares its runtime package; this repository resolves that exact package from its pinned local submodule without publishing or inventing a second runtime contract. Bootstrap tools run from one isolated package graph containing exactly one TSTS package, so the checker, fact owners, target transformer, and AST encoder share node and symbol identity.
The compiler source and generated output are not hand-maintained here.
git submodule update --init --recursive
npm run buildCanonical Tsonic-flavored TypeScript is sealed in .temp/generated.
TypeScript-target output is written to .temp/target.
Run the smallest Go pointer -> canonical marker -> TSTS fact -> target AST -> executable TypeScript proof with:
npm run check:scalarRun the complete generated/native compiler differential with:
npm run check