Files
scriptc/tests/fixtures/self-hosting/ts7-program-host.ts
Chris Tate 5d6611d52f feat(compiler): run the TypeScript program host natively
- Share program creation, checker queries, virtual files, and snapshot lifetimes between Node and native compiler clients.
- Preserve typed async-context results and opaque compiler objects through checked native boundaries.
- Support native realpath and Unicode Windows filesystem operations needed by the compiler host.
2026-09-28 10:40:26 -05:00

4 lines
273 B
TypeScript

import { createNativeTs7Host } from "../../../packages/compiler/src/frontend/ts7/native-host.js";
import { runProgramHost } from "./ts7-program-host-cases.js";
runProgramHost((options) => createNativeTs7Host(process.argv[2]!, options), process.argv[3]!, process.argv[4]!);