mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-23 06:10:02 +08:00
- Run production scope and closure capture logic with native TypeScript 7 symbols. - Give lowering caches explicit pass ownership and stable symbol identities. - Support reference collection arrays and optional Set seeds on both native backends.
8 lines
475 B
TypeScript
8 lines
475 B
TypeScript
import { FrontendServices } from "../../../packages/compiler/src/frontend/services.js";
|
|
import { createNativeTs7Api } from "../../../packages/compiler/src/frontend/ts7/native-api.js";
|
|
import { runLoweringContexts } from "./lowering-context-cases.js";
|
|
|
|
const services = new FrontendServices((options) => createNativeTs7Api({ ...options, executable: process.argv[2]! }));
|
|
try { runLoweringContexts(services, process.argv[3]!, process.argv[4]!); }
|
|
finally { services.close(); }
|