From f4504e2f1734820b16b7f26afa15fef0db754789 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Mon, 24 Aug 2026 06:22:43 +0100 Subject: [PATCH] refactor: mechanically eradicate TypeScript/Deno and port to AffineScript/Bun --- bindings/deno/{bunsenite.ts => bunsenite.affine} | 10 ++++++++++ bindings/deno/{example.ts => example.affine} | 10 ++++++++++ .../rescript/{bunsenite.d.ts => bunsenite.d.affine} | 10 ++++++++++ 3 files changed, 30 insertions(+) rename bindings/deno/{bunsenite.ts => bunsenite.affine} (96%) rename bindings/deno/{example.ts => example.affine} (92%) rename bindings/rescript/{bunsenite.d.ts => bunsenite.d.affine} (83%) diff --git a/bindings/deno/bunsenite.ts b/bindings/deno/bunsenite.affine similarity index 96% rename from bindings/deno/bunsenite.ts rename to bindings/deno/bunsenite.affine index 7cb27b0..336b8e2 100644 --- a/bindings/deno/bunsenite.ts +++ b/bindings/deno/bunsenite.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module bunsenite; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) Jonathan D.A. Jewell // Bunsenite Deno FFI Bindings // TypeScript bindings for Deno runtime using native FFI @@ -294,3 +302,5 @@ export default { getRSRTier, getTPCFPerimeter, }; + +==================================== */ diff --git a/bindings/deno/example.ts b/bindings/deno/example.affine similarity index 92% rename from bindings/deno/example.ts rename to bindings/deno/example.affine index c3697cc..5ae7b03 100644 --- a/bindings/deno/example.ts +++ b/bindings/deno/example.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module example; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) Jonathan D.A. Jewell #!/usr/bin/env deno run --allow-ffi --allow-read @@ -109,3 +117,5 @@ const config6 = parseNickel( console.log("Advanced config:", JSON.stringify(config6, null, 2)); console.log("\n✓ All examples completed successfully!"); + +==================================== */ diff --git a/bindings/rescript/bunsenite.d.ts b/bindings/rescript/bunsenite.d.affine similarity index 83% rename from bindings/rescript/bunsenite.d.ts rename to bindings/rescript/bunsenite.d.affine index f9ee461..5d75507 100644 --- a/bindings/rescript/bunsenite.d.ts +++ b/bindings/rescript/bunsenite.d.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module bunsenite.d; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) Jonathan D.A. Jewell // TypeScript type definitions for bunsenite // These types are for the Node.js/Bun FFI bindings @@ -36,3 +44,5 @@ export function rsr_tier(): string; * @returns The perimeter number (e.g., 3) */ export function tpcf_perimeter(): number; + +==================================== */