@scriptc/compiler 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ambient/scriptc-node-fallback.d.ts +99 -27
- package/dist/backend/cycle-analysis.js +63 -50
- package/dist/backend/cycle-analysis.js.map +1 -1
- package/dist/backend/cycle-analysis.test.js +51 -0
- package/dist/backend/cycle-analysis.test.js.map +1 -1
- package/dist/backend/llvm/borrowed-receivers.d.ts +9 -0
- package/dist/backend/llvm/borrowed-receivers.js +58 -0
- package/dist/backend/llvm/borrowed-receivers.js.map +1 -0
- package/dist/backend/llvm/call-lifetimes.d.ts +20 -0
- package/dist/backend/llvm/call-lifetimes.js +179 -0
- package/dist/backend/llvm/call-lifetimes.js.map +1 -0
- package/dist/backend/llvm/call-lifetimes.test.d.ts +1 -0
- package/dist/backend/llvm/call-lifetimes.test.js +205 -0
- package/dist/backend/llvm/call-lifetimes.test.js.map +1 -0
- package/dist/backend/llvm/dyn.d.ts +2 -2
- package/dist/backend/llvm/dyn.js +79 -35
- package/dist/backend/llvm/dyn.js.map +1 -1
- package/dist/backend/llvm/emitter.d.ts +33 -0
- package/dist/backend/llvm/emitter.js +189 -16
- package/dist/backend/llvm/emitter.js.map +1 -1
- package/dist/backend/llvm/emitter.test.js +20 -1
- package/dist/backend/llvm/emitter.test.js.map +1 -1
- package/dist/backend/llvm/expr-async.js +1 -1
- package/dist/backend/llvm/expr-async.js.map +1 -1
- package/dist/backend/llvm/expr-calls.js +42 -5
- package/dist/backend/llvm/expr-calls.js.map +1 -1
- package/dist/backend/llvm/expr-containers.js +70 -13
- package/dist/backend/llvm/expr-containers.js.map +1 -1
- package/dist/backend/llvm/expr-dynamic.js +1 -1
- package/dist/backend/llvm/expr-dynamic.js.map +1 -1
- package/dist/backend/llvm/expr-primitives.js +6 -5
- package/dist/backend/llvm/expr-primitives.js.map +1 -1
- package/dist/backend/llvm/expr-records.js +1 -1
- package/dist/backend/llvm/expr-records.js.map +1 -1
- package/dist/backend/llvm/expr-stream-bridges.js +5 -10
- package/dist/backend/llvm/expr-stream-bridges.js.map +1 -1
- package/dist/backend/llvm/lib-shared.js +35 -1
- package/dist/backend/llvm/lib-shared.js.map +1 -1
- package/dist/backend/llvm/local-array-reads.d.ts +44 -0
- package/dist/backend/llvm/local-array-reads.js +313 -0
- package/dist/backend/llvm/local-array-reads.js.map +1 -0
- package/dist/backend/llvm/local-array-reads.test.d.ts +1 -0
- package/dist/backend/llvm/local-array-reads.test.js +446 -0
- package/dist/backend/llvm/local-array-reads.test.js.map +1 -0
- package/dist/backend/llvm/map-read-lifetimes.d.ts +36 -0
- package/dist/backend/llvm/map-read-lifetimes.js +128 -0
- package/dist/backend/llvm/map-read-lifetimes.js.map +1 -0
- package/dist/backend/llvm/map-read-lifetimes.test.d.ts +1 -0
- package/dist/backend/llvm/map-read-lifetimes.test.js +123 -0
- package/dist/backend/llvm/map-read-lifetimes.test.js.map +1 -0
- package/dist/backend/llvm/shapes.js +1 -0
- package/dist/backend/llvm/shapes.js.map +1 -1
- package/dist/backend/llvm/split.js +15 -5
- package/dist/backend/llvm/split.js.map +1 -1
- package/dist/backend/llvm/split.test.js +17 -0
- package/dist/backend/llvm/split.test.js.map +1 -1
- package/dist/backend/llvm/stack-unions.d.ts +20 -0
- package/dist/backend/llvm/stack-unions.js +61 -0
- package/dist/backend/llvm/stack-unions.js.map +1 -0
- package/dist/backend/llvm/stack-unions.test.d.ts +1 -0
- package/dist/backend/llvm/stack-unions.test.js +241 -0
- package/dist/backend/llvm/stack-unions.test.js.map +1 -0
- package/dist/backend/llvm/string-lifetimes.d.ts +12 -0
- package/dist/backend/llvm/string-lifetimes.js +70 -0
- package/dist/backend/llvm/string-lifetimes.js.map +1 -0
- package/dist/backend/llvm/string-lifetimes.test.d.ts +1 -0
- package/dist/backend/llvm/string-lifetimes.test.js +230 -0
- package/dist/backend/llvm/string-lifetimes.test.js.map +1 -0
- package/dist/backend/mangle.d.ts +2 -0
- package/dist/backend/mangle.js +4 -0
- package/dist/backend/mangle.js.map +1 -1
- package/dist/backend/may-throw.js +67 -29
- package/dist/backend/may-throw.js.map +1 -1
- package/dist/backend/may-throw.test.js +104 -1
- package/dist/backend/may-throw.test.js.map +1 -1
- package/dist/backend/native-toolchain.d.ts +2 -2
- package/dist/backend/native-toolchain.js +2 -0
- package/dist/backend/native-toolchain.js.map +1 -1
- package/dist/frontend/input-tracker.js +3 -3
- package/dist/frontend/input-tracker.js.map +1 -1
- package/dist/frontend/input-tracker.test.js +38 -2
- package/dist/frontend/input-tracker.test.js.map +1 -1
- package/dist/frontend/lowering/collection-ingestion.d.ts +31 -0
- package/dist/frontend/lowering/collection-ingestion.js +215 -0
- package/dist/frontend/lowering/collection-ingestion.js.map +1 -0
- package/dist/frontend/lowering/containers/bytes.js +2 -0
- package/dist/frontend/lowering/containers/bytes.js.map +1 -1
- package/dist/frontend/lowering/import-meta.d.ts +10 -0
- package/dist/frontend/lowering/import-meta.js +52 -0
- package/dist/frontend/lowering/import-meta.js.map +1 -0
- package/dist/frontend/lowering/lower-assert.js +105 -41
- package/dist/frontend/lowering/lower-assert.js.map +1 -1
- package/dist/frontend/lowering/lower-builtin-values.d.ts +2 -0
- package/dist/frontend/lowering/lower-builtin-values.js +22 -1
- package/dist/frontend/lowering/lower-builtin-values.js.map +1 -1
- package/dist/frontend/lowering/lower-builtins.d.ts +3 -13
- package/dist/frontend/lowering/lower-builtins.js +150 -46
- package/dist/frontend/lowering/lower-builtins.js.map +1 -1
- package/dist/frontend/lowering/lower-calls.js +6 -3
- package/dist/frontend/lowering/lower-calls.js.map +1 -1
- package/dist/frontend/lowering/lower-classes.js +4 -4
- package/dist/frontend/lowering/lower-classes.js.map +1 -1
- package/dist/frontend/lowering/lower-containers.d.ts +5 -1
- package/dist/frontend/lowering/lower-containers.js +40 -3
- package/dist/frontend/lowering/lower-containers.js.map +1 -1
- package/dist/frontend/lowering/lower-exprs.js +35 -41
- package/dist/frontend/lowering/lower-exprs.js.map +1 -1
- package/dist/frontend/lowering/lower-inspect.js +43 -0
- package/dist/frontend/lowering/lower-inspect.js.map +1 -1
- package/dist/frontend/lowering/lower-stmts.js +72 -68
- package/dist/frontend/lowering/lower-stmts.js.map +1 -1
- package/dist/frontend/lowering/lower-system-errors.d.ts +6 -0
- package/dist/frontend/lowering/lower-system-errors.js +29 -0
- package/dist/frontend/lowering/lower-system-errors.js.map +1 -0
- package/dist/frontend/lowering/lowerer.d.ts +4 -3
- package/dist/frontend/lowering/lowerer.js +50 -22
- package/dist/frontend/lowering/lowerer.js.map +1 -1
- package/dist/frontend/lowering/surfaces.d.ts +2 -2
- package/dist/frontend/lowering/surfaces.js +69 -21
- package/dist/frontend/lowering/surfaces.js.map +1 -1
- package/dist/frontend/module-syntax.d.ts +1 -1
- package/dist/frontend/module-syntax.js +8 -1
- package/dist/frontend/module-syntax.js.map +1 -1
- package/dist/frontend/module-syntax.test.js +10 -0
- package/dist/frontend/module-syntax.test.js.map +1 -1
- package/dist/frontend/npm.d.ts +4 -0
- package/dist/frontend/npm.js +86 -33
- package/dist/frontend/npm.js.map +1 -1
- package/dist/frontend/npm.test.js +103 -0
- package/dist/frontend/npm.test.js.map +1 -1
- package/dist/frontend/pipeline-native.js +2 -1
- package/dist/frontend/pipeline-native.js.map +1 -1
- package/dist/frontend/services-node.js +3 -2
- package/dist/frontend/services-node.js.map +1 -1
- package/dist/frontend/services.d.ts +5 -1
- package/dist/frontend/services.js +9 -1
- package/dist/frontend/services.js.map +1 -1
- package/dist/frontend/services.test.js +21 -0
- package/dist/frontend/services.test.js.map +1 -1
- package/dist/frontend/ts7/ast-node.d.ts +2 -0
- package/dist/frontend/ts7/ast-node.js +30 -4
- package/dist/frontend/ts7/ast-node.js.map +1 -1
- package/dist/frontend/ts7/ast-node.test.js +60 -1
- package/dist/frontend/ts7/ast-node.test.js.map +1 -1
- package/dist/frontend/type-mapper.js +6 -0
- package/dist/frontend/type-mapper.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/ir/analysis.js +1 -0
- package/dist/ir/analysis.js.map +1 -1
- package/dist/ir/integer-loops.d.ts +7 -0
- package/dist/ir/integer-loops.js +23 -0
- package/dist/ir/integer-loops.js.map +1 -1
- package/dist/ir/integer-loops.test.d.ts +1 -0
- package/dist/ir/integer-loops.test.js +41 -0
- package/dist/ir/integer-loops.test.js.map +1 -0
- package/dist/ir/ir.d.ts +21 -17
- package/dist/ir/ir.js +43 -9
- package/dist/ir/ir.js.map +1 -1
- package/dist/ir/ir.test.js +18 -0
- package/dist/ir/ir.test.js.map +1 -1
- package/dist/ir/validate.js +161 -76
- package/dist/ir/validate.js.map +1 -1
- package/dist/ir/validate.test.js +227 -0
- package/dist/ir/validate.test.js.map +1 -1
- package/dist/library/fence-eval.js +9 -2
- package/dist/library/fence-eval.js.map +1 -1
- package/dist/library/fence-eval.test.d.ts +1 -0
- package/dist/library/fence-eval.test.js +21 -0
- package/dist/library/fence-eval.test.js.map +1 -0
- package/dist/native/runtime-typescript.d.ts +4 -0
- package/dist/native/runtime-typescript.js +61 -0
- package/dist/native/runtime-typescript.js.map +1 -0
- package/dist/native/runtime-typescript.test.d.ts +1 -0
- package/dist/native/runtime-typescript.test.js +41 -0
- package/dist/native/runtime-typescript.test.js.map +1 -0
- package/package.json +20 -20
- package/surface-manifest.json +271 -17
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { spawnSync } from "node:child_process";
|
|
2
|
+
import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
3
|
+
import { tmpdir } from "node:os";
|
|
4
|
+
import { join } from "node:path";
|
|
5
|
+
/** Both compiler hosts use the pinned native TypeScript emitter. Package
|
|
6
|
+
* configuration, dependency resolution and execution remain outside this
|
|
7
|
+
* isolated emit; the runtime graph resolves the emitted literal imports. */
|
|
8
|
+
export function emitRuntimeTypeScript(executable, path, source, format) {
|
|
9
|
+
if (/\.d\.[cm]?ts$/.test(path))
|
|
10
|
+
throw new Error("declaration files cannot be embedded as runtime modules");
|
|
11
|
+
if (path.endsWith(".tsx"))
|
|
12
|
+
throw new Error("TSX runtime modules are not supported");
|
|
13
|
+
const stage = mkdtempSync(join(tmpdir(), "scriptc-typescript-"));
|
|
14
|
+
// Explicit suffixes retain the graph's module format independently of
|
|
15
|
+
// the temporary directory's package scope. NodeNext also preserves
|
|
16
|
+
// dynamic import() in CommonJS instead of changing its export condition.
|
|
17
|
+
const input = format === "esm" ? "module.mts" : "module.cts";
|
|
18
|
+
const output = join(stage, "output");
|
|
19
|
+
try {
|
|
20
|
+
mkdirSync(output);
|
|
21
|
+
writeFileSync(join(stage, input), source);
|
|
22
|
+
const config = join(stage, "tsconfig.json");
|
|
23
|
+
writeFileSync(config, JSON.stringify({
|
|
24
|
+
compilerOptions: {
|
|
25
|
+
target: "esnext", module: "nodenext", moduleDetection: "legacy",
|
|
26
|
+
noCheck: true, noResolve: true, types: [],
|
|
27
|
+
isolatedModules: true, verbatimModuleSyntax: format === "esm",
|
|
28
|
+
noEmitOnError: true, outDir: output,
|
|
29
|
+
},
|
|
30
|
+
files: [input], include: [],
|
|
31
|
+
}));
|
|
32
|
+
// Read the result directly: native subprocess exceptions intentionally
|
|
33
|
+
// do not carry stdout, while spawnSync provides it in both hosts.
|
|
34
|
+
const result = spawnSync(executable, ["--project", config, "--pretty", "false"], {
|
|
35
|
+
encoding: "utf8", stdio: "pipe",
|
|
36
|
+
});
|
|
37
|
+
if (result.error || result.status !== 0 || result.signal !== null) {
|
|
38
|
+
const diagnostic = (result.stdout ?? "").trim();
|
|
39
|
+
// Diagnostic paths may be absolute or relative to the caller's cwd.
|
|
40
|
+
// Replace each source-location prefix without interpreting the path
|
|
41
|
+
// as a replacement template (package names can contain '$').
|
|
42
|
+
const attributed = diagnostic.split(/\r?\n/).map((line) => {
|
|
43
|
+
const at = line.indexOf(input + "(");
|
|
44
|
+
return at < 0 ? line : path + line.slice(at + input.length);
|
|
45
|
+
}).join("\n");
|
|
46
|
+
throw new Error(diagnostic === "" ? "TypeScript emission failed" : attributed
|
|
47
|
+
.replaceAll(stage, "<emit>")
|
|
48
|
+
.replaceAll(stage.replaceAll("\\", "/"), "<emit>"));
|
|
49
|
+
}
|
|
50
|
+
try {
|
|
51
|
+
return readFileSync(join(output, format === "esm" ? "module.mjs" : "module.cjs"), "utf8");
|
|
52
|
+
}
|
|
53
|
+
catch {
|
|
54
|
+
throw new Error("TypeScript emitter produced no JavaScript");
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
finally {
|
|
58
|
+
rmSync(stage, { recursive: true, force: true });
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=runtime-typescript.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-typescript.js","sourceRoot":"","sources":["../../src/native/runtime-typescript.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { execFileSync } from "node:child_process";
|
|
2
|
+
import { expect, test } from "vitest";
|
|
3
|
+
import { ts7Executable } from "../frontend/ts7/rpc-api.js";
|
|
4
|
+
import { emitRuntimeTypeScript } from "./runtime-typescript.js";
|
|
5
|
+
test("package emission handles enums, parameter properties, assertions and generic functions", () => {
|
|
6
|
+
const emitted = emitRuntimeTypeScript(ts7Executable(), "/package/index.ts", `
|
|
7
|
+
enum Kind { First = 7 }
|
|
8
|
+
class Box { constructor(public value: number) {} }
|
|
9
|
+
function identity<T>(value: T): T { return value; }
|
|
10
|
+
export const result: number = identity(new Box(Kind.First).value as number);
|
|
11
|
+
`, "cjs");
|
|
12
|
+
const exports = {};
|
|
13
|
+
new Function("exports", emitted)(exports);
|
|
14
|
+
expect(exports["result"]).toBe(7);
|
|
15
|
+
});
|
|
16
|
+
test("CommonJS emission retains dynamic import conditions and emits import-equals requires", () => {
|
|
17
|
+
const emitted = emitRuntimeTypeScript(ts7Executable(), "/package/index.cts", `
|
|
18
|
+
import value = require("./value.cts");
|
|
19
|
+
export const later = () => import("dual");
|
|
20
|
+
export const result: number = value.result;
|
|
21
|
+
`, "cjs");
|
|
22
|
+
expect(emitted).toContain('require("./value.cts")');
|
|
23
|
+
expect(emitted).toContain('import("dual")');
|
|
24
|
+
expect(emitted).not.toContain('require("dual")');
|
|
25
|
+
});
|
|
26
|
+
test("ESM emission preserves unused value imports and removes explicitly type-only dependencies", () => {
|
|
27
|
+
const emitted = emitRuntimeTypeScript(ts7Executable(), "/package/index.mts", `
|
|
28
|
+
import type { Missing } from "missing-types";
|
|
29
|
+
import { type Other, unused } from "./value.ts";
|
|
30
|
+
export type { Missing } from "missing-types";
|
|
31
|
+
export const result: number = 42;
|
|
32
|
+
`, "esm");
|
|
33
|
+
expect(emitted).toContain("unused");
|
|
34
|
+
expect(emitted).toContain("./value.ts");
|
|
35
|
+
expect(emitted).not.toContain("missing-types");
|
|
36
|
+
execFileSync(process.execPath, ["--check", "--input-type=module"], { input: emitted });
|
|
37
|
+
});
|
|
38
|
+
test("syntax diagnostics retain the original module path, including dollar signs", () => {
|
|
39
|
+
expect(() => emitRuntimeTypeScript(ts7Executable(), "/package/$module.mts", "export function broken(: number) {}", "esm")).toThrow("/package/$module.mts(");
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=runtime-typescript.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-typescript.test.js","sourceRoot":"","sources":["../../src/native/runtime-typescript.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,IAAI,CAAC,wFAAwF,EAAE,GAAG,EAAE;IAClG,MAAM,OAAO,GAAG,qBAAqB,CAAC,aAAa,EAAE,EAAE,mBAAmB,EAAE;;;;;GAK3E,EAAE,KAAK,CAAC,CAAC;IACV,MAAM,OAAO,GAA4B,EAAE,CAAC;IAC5C,IAAI,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;IAC1C,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,sFAAsF,EAAE,GAAG,EAAE;IAChG,MAAM,OAAO,GAAG,qBAAqB,CAAC,aAAa,EAAE,EAAE,oBAAoB,EAAE;;;;GAI5E,EAAE,KAAK,CAAC,CAAC;IACV,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;IACpD,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;AACnD,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,2FAA2F,EAAE,GAAG,EAAE;IACrG,MAAM,OAAO,GAAG,qBAAqB,CAAC,aAAa,EAAE,EAAE,oBAAoB,EAAE;;;;;GAK5E,EAAE,KAAK,CAAC,CAAC;IACV,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IACpC,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;IACxC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;IAC/C,YAAY,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,qBAAqB,CAAC,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;AACzF,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,4EAA4E,EAAE,GAAG,EAAE;IACtF,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,aAAa,EAAE,EAAE,sBAAsB,EACxE,qCAAqC,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;AACpF,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scriptc/compiler",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "The scriptc compiler — TypeScript/JavaScript frontend, typed IR, LLVM backend",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://scriptc.dev",
|
|
@@ -37,27 +37,27 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"typescript": "7.0.2",
|
|
39
39
|
"typescript5": "npm:typescript@5.9.3",
|
|
40
|
-
"@scriptc/runtime": "0.2.
|
|
40
|
+
"@scriptc/runtime": "0.2.3"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@scriptc/llvm-darwin-arm64": "0.2.
|
|
44
|
-
"@scriptc/llvm-darwin-x64": "0.2.
|
|
45
|
-
"@scriptc/llvm-linux-x64-gnu": "0.2.
|
|
46
|
-
"@scriptc/llvm-linux-x64-musl": "0.2.
|
|
47
|
-
"@scriptc/llvm-linux-arm64-
|
|
48
|
-
"@scriptc/llvm-
|
|
49
|
-
"@scriptc/
|
|
50
|
-
"@scriptc/
|
|
51
|
-
"@scriptc/runtime-
|
|
52
|
-
"@scriptc/runtime-
|
|
53
|
-
"@scriptc/runtime-linux-
|
|
54
|
-
"@scriptc/runtime-
|
|
55
|
-
"@scriptc/runtime-linux-arm64-musl": "0.2.
|
|
56
|
-
"@scriptc/runtime-
|
|
57
|
-
"@scriptc/runtime-wasm32-wasi": "0.2.
|
|
58
|
-
"@scriptc/runtime-ios-arm64": "0.2.
|
|
59
|
-
"@scriptc/runtime-ios-simulator-arm64": "0.2.
|
|
60
|
-
"@scriptc/runtime-android-arm64": "0.2.
|
|
43
|
+
"@scriptc/llvm-darwin-arm64": "0.2.3",
|
|
44
|
+
"@scriptc/llvm-darwin-x64": "0.2.3",
|
|
45
|
+
"@scriptc/llvm-linux-x64-gnu": "0.2.3",
|
|
46
|
+
"@scriptc/llvm-linux-x64-musl": "0.2.3",
|
|
47
|
+
"@scriptc/llvm-linux-arm64-musl": "0.2.3",
|
|
48
|
+
"@scriptc/llvm-win32-x64-msvc": "0.2.3",
|
|
49
|
+
"@scriptc/runtime-darwin-arm64": "0.2.3",
|
|
50
|
+
"@scriptc/llvm-linux-arm64-gnu": "0.2.3",
|
|
51
|
+
"@scriptc/runtime-linux-x64-gnu": "0.2.3",
|
|
52
|
+
"@scriptc/runtime-darwin-x64": "0.2.3",
|
|
53
|
+
"@scriptc/runtime-linux-x64-musl": "0.2.3",
|
|
54
|
+
"@scriptc/runtime-linux-arm64-gnu": "0.2.3",
|
|
55
|
+
"@scriptc/runtime-linux-arm64-musl": "0.2.3",
|
|
56
|
+
"@scriptc/runtime-win32-x64-msvc": "0.2.3",
|
|
57
|
+
"@scriptc/runtime-wasm32-wasi": "0.2.3",
|
|
58
|
+
"@scriptc/runtime-ios-arm64": "0.2.3",
|
|
59
|
+
"@scriptc/runtime-ios-simulator-arm64": "0.2.3",
|
|
60
|
+
"@scriptc/runtime-android-arm64": "0.2.3"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "node node_modules/typescript/bin/tsc -p tsconfig.json"
|
package/surface-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"compilerVersion": "0.2.
|
|
3
|
+
"compilerVersion": "0.2.3",
|
|
4
4
|
"coverage": [
|
|
5
5
|
"Entries are projected mechanically from the compiler's own decision tables: the diagnostics registry, the unsupported-syntax dispatch tables, the stdlib and node-builtin lowering tables, and the supported-builtin-module list. Nothing is hand-maintained; the manifest regenerates byte-identically from the source tree at this version.",
|
|
6
6
|
"Absence from this manifest means 'not projected', never 'unsupported'. Surfaces lowered through dedicated code paths rather than tables are not yet projected: console, JSON, Promise/async and the timer surface, the net/http/tls/https/dgram/dns/assert/test/stream/readline module member surfaces, template literals, the regex slice, global functions (parseInt, parseFloat, isNaN, isFinite), and the process surface outside its ambient slice.",
|
|
@@ -331,14 +331,6 @@
|
|
|
331
331
|
"code": "SC2020",
|
|
332
332
|
"note": "await the promise directly — an unexpected rejection already fails the test"
|
|
333
333
|
},
|
|
334
|
-
{
|
|
335
|
-
"id": "node-builtin.assert.doesNotThrow",
|
|
336
|
-
"kind": "node-builtin",
|
|
337
|
-
"name": "assert.doesNotThrow",
|
|
338
|
-
"status": "unsupported",
|
|
339
|
-
"code": "SC2020",
|
|
340
|
-
"note": "call the function directly — an unexpected throw already fails the test"
|
|
341
|
-
},
|
|
342
334
|
{
|
|
343
335
|
"id": "node-builtin.assert.ifError",
|
|
344
336
|
"kind": "node-builtin",
|
|
@@ -386,14 +378,6 @@
|
|
|
386
378
|
"code": "SC2020",
|
|
387
379
|
"note": "await the promise directly — an unexpected rejection already fails the test"
|
|
388
380
|
},
|
|
389
|
-
{
|
|
390
|
-
"id": "node-builtin.assert.strict.doesNotThrow",
|
|
391
|
-
"kind": "node-builtin",
|
|
392
|
-
"name": "assert/strict.doesNotThrow",
|
|
393
|
-
"status": "unsupported",
|
|
394
|
-
"code": "SC2020",
|
|
395
|
-
"note": "call the function directly — an unexpected throw already fails the test"
|
|
396
|
-
},
|
|
397
381
|
{
|
|
398
382
|
"id": "node-builtin.assert.strict.ifError",
|
|
399
383
|
"kind": "node-builtin",
|
|
@@ -965,6 +949,12 @@
|
|
|
965
949
|
"name": "fs.ftruncateSync",
|
|
966
950
|
"status": "static"
|
|
967
951
|
},
|
|
952
|
+
{
|
|
953
|
+
"id": "node-builtin.fs.futimesSync",
|
|
954
|
+
"kind": "node-builtin",
|
|
955
|
+
"name": "fs.futimesSync",
|
|
956
|
+
"status": "static"
|
|
957
|
+
},
|
|
968
958
|
{
|
|
969
959
|
"id": "node-builtin.fs.linkSync",
|
|
970
960
|
"kind": "node-builtin",
|
|
@@ -977,6 +967,12 @@
|
|
|
977
967
|
"name": "fs.lstatSync",
|
|
978
968
|
"status": "static"
|
|
979
969
|
},
|
|
970
|
+
{
|
|
971
|
+
"id": "node-builtin.fs.lutimesSync",
|
|
972
|
+
"kind": "node-builtin",
|
|
973
|
+
"name": "fs.lutimesSync",
|
|
974
|
+
"status": "static"
|
|
975
|
+
},
|
|
980
976
|
{
|
|
981
977
|
"id": "node-builtin.fs.mkdirSync",
|
|
982
978
|
"kind": "node-builtin",
|
|
@@ -1008,12 +1004,24 @@
|
|
|
1008
1004
|
"name": "fs/promises.chmod",
|
|
1009
1005
|
"status": "static"
|
|
1010
1006
|
},
|
|
1007
|
+
{
|
|
1008
|
+
"id": "node-builtin.fs.promises.link",
|
|
1009
|
+
"kind": "node-builtin",
|
|
1010
|
+
"name": "fs/promises.link",
|
|
1011
|
+
"status": "static"
|
|
1012
|
+
},
|
|
1011
1013
|
{
|
|
1012
1014
|
"id": "node-builtin.fs.promises.lstat",
|
|
1013
1015
|
"kind": "node-builtin",
|
|
1014
1016
|
"name": "fs/promises.lstat",
|
|
1015
1017
|
"status": "static"
|
|
1016
1018
|
},
|
|
1019
|
+
{
|
|
1020
|
+
"id": "node-builtin.fs.promises.lutimes",
|
|
1021
|
+
"kind": "node-builtin",
|
|
1022
|
+
"name": "fs/promises.lutimes",
|
|
1023
|
+
"status": "static"
|
|
1024
|
+
},
|
|
1017
1025
|
{
|
|
1018
1026
|
"id": "node-builtin.fs.promises.mkdir",
|
|
1019
1027
|
"kind": "node-builtin",
|
|
@@ -1038,6 +1046,12 @@
|
|
|
1038
1046
|
"name": "fs/promises.readdir",
|
|
1039
1047
|
"status": "static"
|
|
1040
1048
|
},
|
|
1049
|
+
{
|
|
1050
|
+
"id": "node-builtin.fs.promises.readlink",
|
|
1051
|
+
"kind": "node-builtin",
|
|
1052
|
+
"name": "fs/promises.readlink",
|
|
1053
|
+
"status": "static"
|
|
1054
|
+
},
|
|
1041
1055
|
{
|
|
1042
1056
|
"id": "node-builtin.fs.promises.realpath",
|
|
1043
1057
|
"kind": "node-builtin",
|
|
@@ -1062,12 +1076,30 @@
|
|
|
1062
1076
|
"name": "fs/promises.stat",
|
|
1063
1077
|
"status": "static"
|
|
1064
1078
|
},
|
|
1079
|
+
{
|
|
1080
|
+
"id": "node-builtin.fs.promises.statfs",
|
|
1081
|
+
"kind": "node-builtin",
|
|
1082
|
+
"name": "fs/promises.statfs",
|
|
1083
|
+
"status": "static"
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"id": "node-builtin.fs.promises.symlink",
|
|
1087
|
+
"kind": "node-builtin",
|
|
1088
|
+
"name": "fs/promises.symlink",
|
|
1089
|
+
"status": "static"
|
|
1090
|
+
},
|
|
1065
1091
|
{
|
|
1066
1092
|
"id": "node-builtin.fs.promises.unlink",
|
|
1067
1093
|
"kind": "node-builtin",
|
|
1068
1094
|
"name": "fs/promises.unlink",
|
|
1069
1095
|
"status": "static"
|
|
1070
1096
|
},
|
|
1097
|
+
{
|
|
1098
|
+
"id": "node-builtin.fs.promises.utimes",
|
|
1099
|
+
"kind": "node-builtin",
|
|
1100
|
+
"name": "fs/promises.utimes",
|
|
1101
|
+
"status": "static"
|
|
1102
|
+
},
|
|
1071
1103
|
{
|
|
1072
1104
|
"id": "node-builtin.fs.promises.writeFile",
|
|
1073
1105
|
"kind": "node-builtin",
|
|
@@ -1092,6 +1124,12 @@
|
|
|
1092
1124
|
"name": "fs.readdirSync",
|
|
1093
1125
|
"status": "static"
|
|
1094
1126
|
},
|
|
1127
|
+
{
|
|
1128
|
+
"id": "node-builtin.fs.readlinkSync",
|
|
1129
|
+
"kind": "node-builtin",
|
|
1130
|
+
"name": "fs.readlinkSync",
|
|
1131
|
+
"status": "static"
|
|
1132
|
+
},
|
|
1095
1133
|
{
|
|
1096
1134
|
"id": "node-builtin.fs.readvSync",
|
|
1097
1135
|
"kind": "node-builtin",
|
|
@@ -1140,12 +1178,30 @@
|
|
|
1140
1178
|
"name": "fs.statSync",
|
|
1141
1179
|
"status": "static"
|
|
1142
1180
|
},
|
|
1181
|
+
{
|
|
1182
|
+
"id": "node-builtin.fs.statfsSync",
|
|
1183
|
+
"kind": "node-builtin",
|
|
1184
|
+
"name": "fs.statfsSync",
|
|
1185
|
+
"status": "static"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"id": "node-builtin.fs.symlinkSync",
|
|
1189
|
+
"kind": "node-builtin",
|
|
1190
|
+
"name": "fs.symlinkSync",
|
|
1191
|
+
"status": "static"
|
|
1192
|
+
},
|
|
1143
1193
|
{
|
|
1144
1194
|
"id": "node-builtin.fs.unlinkSync",
|
|
1145
1195
|
"kind": "node-builtin",
|
|
1146
1196
|
"name": "fs.unlinkSync",
|
|
1147
1197
|
"status": "static"
|
|
1148
1198
|
},
|
|
1199
|
+
{
|
|
1200
|
+
"id": "node-builtin.fs.utimesSync",
|
|
1201
|
+
"kind": "node-builtin",
|
|
1202
|
+
"name": "fs.utimesSync",
|
|
1203
|
+
"status": "static"
|
|
1204
|
+
},
|
|
1149
1205
|
{
|
|
1150
1206
|
"id": "node-builtin.fs.watch",
|
|
1151
1207
|
"kind": "node-builtin",
|
|
@@ -1932,6 +1988,12 @@
|
|
|
1932
1988
|
"name": "url.fileURLToPath",
|
|
1933
1989
|
"status": "static"
|
|
1934
1990
|
},
|
|
1991
|
+
{
|
|
1992
|
+
"id": "node-builtin.url.fileURLToPathBuffer",
|
|
1993
|
+
"kind": "node-builtin",
|
|
1994
|
+
"name": "url.fileURLToPathBuffer",
|
|
1995
|
+
"status": "static"
|
|
1996
|
+
},
|
|
1935
1997
|
{
|
|
1936
1998
|
"id": "node-builtin.url.pathToFileURL",
|
|
1937
1999
|
"kind": "node-builtin",
|
|
@@ -1945,6 +2007,30 @@
|
|
|
1945
2007
|
"status": "static",
|
|
1946
2008
|
"note": "recognized module (bare and node:-prefixed specifiers)"
|
|
1947
2009
|
},
|
|
2010
|
+
{
|
|
2011
|
+
"id": "node-builtin.util.getSystemErrorMap",
|
|
2012
|
+
"kind": "node-builtin",
|
|
2013
|
+
"name": "util.getSystemErrorMap",
|
|
2014
|
+
"status": "static"
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"id": "node-builtin.util.getSystemErrorMessage",
|
|
2018
|
+
"kind": "node-builtin",
|
|
2019
|
+
"name": "util.getSystemErrorMessage",
|
|
2020
|
+
"status": "static"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"id": "node-builtin.util.getSystemErrorName",
|
|
2024
|
+
"kind": "node-builtin",
|
|
2025
|
+
"name": "util.getSystemErrorName",
|
|
2026
|
+
"status": "static"
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
"id": "node-builtin.util.isDeepStrictEqual",
|
|
2030
|
+
"kind": "node-builtin",
|
|
2031
|
+
"name": "util.isDeepStrictEqual",
|
|
2032
|
+
"status": "static"
|
|
2033
|
+
},
|
|
1948
2034
|
{
|
|
1949
2035
|
"id": "node-builtin.util.parseArgs",
|
|
1950
2036
|
"kind": "node-builtin",
|
|
@@ -1965,6 +2051,24 @@
|
|
|
1965
2051
|
"code": "SC2020",
|
|
1966
2052
|
"note": "the lowered shapes are const bindings over child_process.execFile and fs.readFile; call the bound function directly"
|
|
1967
2053
|
},
|
|
2054
|
+
{
|
|
2055
|
+
"id": "node-builtin.util.stripVTControlCharacters",
|
|
2056
|
+
"kind": "node-builtin",
|
|
2057
|
+
"name": "util.stripVTControlCharacters",
|
|
2058
|
+
"status": "static"
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
"id": "node-builtin.util.styleText",
|
|
2062
|
+
"kind": "node-builtin",
|
|
2063
|
+
"name": "util.styleText",
|
|
2064
|
+
"status": "static"
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"id": "node-builtin.util.toUSVString",
|
|
2068
|
+
"kind": "node-builtin",
|
|
2069
|
+
"name": "util.toUSVString",
|
|
2070
|
+
"status": "static"
|
|
2071
|
+
},
|
|
1968
2072
|
{
|
|
1969
2073
|
"id": "node-builtin.util.types",
|
|
1970
2074
|
"kind": "node-builtin",
|
|
@@ -1972,6 +2076,156 @@
|
|
|
1972
2076
|
"status": "static",
|
|
1973
2077
|
"note": "recognized module (bare and node:-prefixed specifiers)"
|
|
1974
2078
|
},
|
|
2079
|
+
{
|
|
2080
|
+
"id": "node-builtin.util.types.isAnyArrayBuffer",
|
|
2081
|
+
"kind": "node-builtin",
|
|
2082
|
+
"name": "util/types.isAnyArrayBuffer",
|
|
2083
|
+
"status": "static"
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"id": "node-builtin.util.types.isArrayBuffer",
|
|
2087
|
+
"kind": "node-builtin",
|
|
2088
|
+
"name": "util/types.isArrayBuffer",
|
|
2089
|
+
"status": "static"
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"id": "node-builtin.util.types.isArrayBufferView",
|
|
2093
|
+
"kind": "node-builtin",
|
|
2094
|
+
"name": "util/types.isArrayBufferView",
|
|
2095
|
+
"status": "static"
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
"id": "node-builtin.util.types.isAsyncFunction",
|
|
2099
|
+
"kind": "node-builtin",
|
|
2100
|
+
"name": "util/types.isAsyncFunction",
|
|
2101
|
+
"status": "static"
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
"id": "node-builtin.util.types.isDataView",
|
|
2105
|
+
"kind": "node-builtin",
|
|
2106
|
+
"name": "util/types.isDataView",
|
|
2107
|
+
"status": "static"
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"id": "node-builtin.util.types.isFloat32Array",
|
|
2111
|
+
"kind": "node-builtin",
|
|
2112
|
+
"name": "util/types.isFloat32Array",
|
|
2113
|
+
"status": "static"
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"id": "node-builtin.util.types.isFloat64Array",
|
|
2117
|
+
"kind": "node-builtin",
|
|
2118
|
+
"name": "util/types.isFloat64Array",
|
|
2119
|
+
"status": "static"
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"id": "node-builtin.util.types.isGeneratorFunction",
|
|
2123
|
+
"kind": "node-builtin",
|
|
2124
|
+
"name": "util/types.isGeneratorFunction",
|
|
2125
|
+
"status": "static"
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
"id": "node-builtin.util.types.isGeneratorObject",
|
|
2129
|
+
"kind": "node-builtin",
|
|
2130
|
+
"name": "util/types.isGeneratorObject",
|
|
2131
|
+
"status": "static"
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"id": "node-builtin.util.types.isInt16Array",
|
|
2135
|
+
"kind": "node-builtin",
|
|
2136
|
+
"name": "util/types.isInt16Array",
|
|
2137
|
+
"status": "static"
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
"id": "node-builtin.util.types.isInt32Array",
|
|
2141
|
+
"kind": "node-builtin",
|
|
2142
|
+
"name": "util/types.isInt32Array",
|
|
2143
|
+
"status": "static"
|
|
2144
|
+
},
|
|
2145
|
+
{
|
|
2146
|
+
"id": "node-builtin.util.types.isInt8Array",
|
|
2147
|
+
"kind": "node-builtin",
|
|
2148
|
+
"name": "util/types.isInt8Array",
|
|
2149
|
+
"status": "static"
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"id": "node-builtin.util.types.isMap",
|
|
2153
|
+
"kind": "node-builtin",
|
|
2154
|
+
"name": "util/types.isMap",
|
|
2155
|
+
"status": "static"
|
|
2156
|
+
},
|
|
2157
|
+
{
|
|
2158
|
+
"id": "node-builtin.util.types.isNativeError",
|
|
2159
|
+
"kind": "node-builtin",
|
|
2160
|
+
"name": "util/types.isNativeError",
|
|
2161
|
+
"status": "static"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
"id": "node-builtin.util.types.isPromise",
|
|
2165
|
+
"kind": "node-builtin",
|
|
2166
|
+
"name": "util/types.isPromise",
|
|
2167
|
+
"status": "static"
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"id": "node-builtin.util.types.isProxy",
|
|
2171
|
+
"kind": "node-builtin",
|
|
2172
|
+
"name": "util/types.isProxy",
|
|
2173
|
+
"status": "static"
|
|
2174
|
+
},
|
|
2175
|
+
{
|
|
2176
|
+
"id": "node-builtin.util.types.isRegExp",
|
|
2177
|
+
"kind": "node-builtin",
|
|
2178
|
+
"name": "util/types.isRegExp",
|
|
2179
|
+
"status": "static"
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"id": "node-builtin.util.types.isSet",
|
|
2183
|
+
"kind": "node-builtin",
|
|
2184
|
+
"name": "util/types.isSet",
|
|
2185
|
+
"status": "static"
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"id": "node-builtin.util.types.isTypedArray",
|
|
2189
|
+
"kind": "node-builtin",
|
|
2190
|
+
"name": "util/types.isTypedArray",
|
|
2191
|
+
"status": "static"
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"id": "node-builtin.util.types.isUint16Array",
|
|
2195
|
+
"kind": "node-builtin",
|
|
2196
|
+
"name": "util/types.isUint16Array",
|
|
2197
|
+
"status": "static"
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"id": "node-builtin.util.types.isUint32Array",
|
|
2201
|
+
"kind": "node-builtin",
|
|
2202
|
+
"name": "util/types.isUint32Array",
|
|
2203
|
+
"status": "static"
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
"id": "node-builtin.util.types.isUint8Array",
|
|
2207
|
+
"kind": "node-builtin",
|
|
2208
|
+
"name": "util/types.isUint8Array",
|
|
2209
|
+
"status": "static"
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"id": "node-builtin.util.types.isUint8ClampedArray",
|
|
2213
|
+
"kind": "node-builtin",
|
|
2214
|
+
"name": "util/types.isUint8ClampedArray",
|
|
2215
|
+
"status": "static"
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
"id": "node-builtin.util.types.isWeakMap",
|
|
2219
|
+
"kind": "node-builtin",
|
|
2220
|
+
"name": "util/types.isWeakMap",
|
|
2221
|
+
"status": "static"
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
"id": "node-builtin.util.types.isWeakSet",
|
|
2225
|
+
"kind": "node-builtin",
|
|
2226
|
+
"name": "util/types.isWeakSet",
|
|
2227
|
+
"status": "static"
|
|
2228
|
+
},
|
|
1975
2229
|
{
|
|
1976
2230
|
"id": "node-builtin.worker_threads",
|
|
1977
2231
|
"kind": "node-builtin",
|