From 96484ea699d8d7cede5e5546851c1e4cdf5e8ffa Mon Sep 17 00:00:00 2001 From: Jairus Date: Mon, 20 Jan 2025 20:22:38 -0500 Subject: [PATCH] fix: re-add as-bs dependency so that it will not break in non-local environments --- CHANGELOG | 1 + assembly/__benches__/misc.bench.ts | 2 +- assembly/index.ts | 11 +- assembly/serialize/simd/string.ts | 2 +- assembly/serialize/simple/array.ts | 2 +- assembly/serialize/simple/bool.ts | 2 +- assembly/serialize/simple/date.ts | 2 +- assembly/serialize/simple/float.ts | 2 +- assembly/serialize/simple/integer.ts | 2 +- assembly/serialize/simple/map.ts | 2 +- assembly/serialize/simple/string.ts | 2 +- assembly/test.ts | 4 +- modules/bs/index.ts | 167 --------------------------- modules/tsconfig.json | 8 -- package.json | 7 +- transform/lib/index.js | 12 +- transform/lib/index.js.map | 2 +- transform/src/index.ts | 17 +-- 18 files changed, 27 insertions(+), 220 deletions(-) delete mode 100644 modules/bs/index.ts delete mode 100644 modules/tsconfig.json diff --git a/CHANGELOG b/CHANGELOG index 47cbdd7..15424b8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,7 @@ ## 2025-01-20 - 1.0.0-alpha.2 - fix: disable SIMD in generated transform code by default +- fix: re-add as-bs dependency so that it will not break in non-local environments ## 2025-01-20 - 1.0.0-alpha.1 diff --git a/assembly/__benches__/misc.bench.ts b/assembly/__benches__/misc.bench.ts index 3421d15..c2668d9 100644 --- a/assembly/__benches__/misc.bench.ts +++ b/assembly/__benches__/misc.bench.ts @@ -1,5 +1,5 @@ import { bench } from "as-bench/assembly/bench"; -import { bs } from "../../modules/bs"; +import { bs } from "as-bs"; import { deserializeString_SIMD } from "../deserialize/simd/string"; import { deserializeString } from "../deserialize/simple/string"; import { bytes } from "../util/bytes"; diff --git a/assembly/index.ts b/assembly/index.ts index ae0887e..a66725b 100644 --- a/assembly/index.ts +++ b/assembly/index.ts @@ -1,5 +1,5 @@ /// -import { bs } from "../modules/bs"; +import { bs } from "as-bs"; import { serializeString } from "./serialize/simple/string"; import { serializeArray } from "./serialize/simple/array"; @@ -23,7 +23,6 @@ import { serializeFloat } from "./serialize/simple/float"; import { serializeObject } from "./serialize/simple/object"; import { ptrToStr } from "./util/ptrToStr"; import { bytes } from "./util"; -import { serializeString_SIMD } from "./serialize/simd/string"; export type Raw = string; @@ -340,7 +339,7 @@ export namespace JSON { * Box for primitive types */ export class Box { - constructor(public value: T) {} + constructor(public value: T) { } /** * Creates a reference to a primitive type * This means that it can create a nullable primitive @@ -375,11 +374,7 @@ export namespace JSON { store(bs.offset, 30399761348886638); bs.offset += 8; } else if (isString>()) { - if (ASC_FEATURE_SIMD) { - serializeString_SIMD(src as string); - } else { - serializeString(src as string); - } + serializeString(src as string); // @ts-ignore: Supplied by transform } else if (isDefined(src.__SERIALIZE)) { // @ts-ignore diff --git a/assembly/serialize/simd/string.ts b/assembly/serialize/simd/string.ts index 905e47a..3c5e021 100644 --- a/assembly/serialize/simd/string.ts +++ b/assembly/serialize/simd/string.ts @@ -1,4 +1,4 @@ -import { bs } from "../../../modules/bs"; +import { bs } from "as-bs"; import { BACK_SLASH } from "../../custom/chars"; import { SERIALIZE_ESCAPE_TABLE } from "../../globals/tables"; import { OBJECT, TOTAL_OVERHEAD } from "rt/common"; diff --git a/assembly/serialize/simple/array.ts b/assembly/serialize/simple/array.ts index f4c30f5..2e25edd 100644 --- a/assembly/serialize/simple/array.ts +++ b/assembly/serialize/simple/array.ts @@ -1,4 +1,4 @@ -import { bs } from "../../../modules/bs"; +import { bs } from "as-bs"; import { COMMA, BRACKET_RIGHT, BRACKET_LEFT } from "../../custom/chars"; import { JSON } from "../.."; diff --git a/assembly/serialize/simple/bool.ts b/assembly/serialize/simple/bool.ts index 61c969d..633eba5 100644 --- a/assembly/serialize/simple/bool.ts +++ b/assembly/serialize/simple/bool.ts @@ -1,4 +1,4 @@ -import { bs } from "../../../modules/bs"; +import { bs } from "as-bs"; /** * Serialize a bool to type string diff --git a/assembly/serialize/simple/date.ts b/assembly/serialize/simple/date.ts index a8a9914..91be907 100644 --- a/assembly/serialize/simple/date.ts +++ b/assembly/serialize/simple/date.ts @@ -1,4 +1,4 @@ -import { bs } from "../../../modules/bs"; +import { bs } from "as-bs"; import { QUOTE } from "../../custom/chars"; import { bytes } from "../../util/bytes"; diff --git a/assembly/serialize/simple/float.ts b/assembly/serialize/simple/float.ts index 9db35e8..054b7bc 100644 --- a/assembly/serialize/simple/float.ts +++ b/assembly/serialize/simple/float.ts @@ -1,5 +1,5 @@ import { dtoa_buffered } from "util/number"; -import { bs } from "../../../modules/bs"; +import { bs } from "as-bs"; export function serializeFloat(data: T): void { bs.ensureSize(64); diff --git a/assembly/serialize/simple/integer.ts b/assembly/serialize/simple/integer.ts index ee36178..47b4b3c 100644 --- a/assembly/serialize/simple/integer.ts +++ b/assembly/serialize/simple/integer.ts @@ -1,5 +1,5 @@ import { itoa_buffered } from "util/number"; -import { bs } from "../../../modules/bs"; +import { bs } from "as-bs"; export function serializeInteger(data: T): void { bs.ensureSize(sizeof() << 3); diff --git a/assembly/serialize/simple/map.ts b/assembly/serialize/simple/map.ts index 7e6ab21..c76619c 100644 --- a/assembly/serialize/simple/map.ts +++ b/assembly/serialize/simple/map.ts @@ -1,6 +1,6 @@ import { JSON } from "../.."; import { BRACE_LEFT, BRACE_RIGHT, COLON, COMMA } from "../../custom/chars"; -import { bs } from "../../../modules/bs"; +import { bs } from "as-bs"; export function serializeMap>(src: T): void { const srcSize = src.size; diff --git a/assembly/serialize/simple/string.ts b/assembly/serialize/simple/string.ts index 8c03fed..3b5e99e 100644 --- a/assembly/serialize/simple/string.ts +++ b/assembly/serialize/simple/string.ts @@ -1,6 +1,6 @@ import { _intTo16 } from "../../custom/util"; import { bytes } from "../../util/bytes"; -import { bs } from "../../../modules/bs"; +import { bs } from "as-bs"; import { BACK_SLASH, QUOTE } from "../../custom/chars"; import { SERIALIZE_ESCAPE_TABLE } from "../../globals/tables"; diff --git a/assembly/test.ts b/assembly/test.ts index b85b0a1..d79b7cc 100644 --- a/assembly/test.ts +++ b/assembly/test.ts @@ -10,14 +10,14 @@ class Vec3 { @json class Player { - // @alias("first name") + @alias("first name") firstName!: string; lastName!: string; lastActive!: i32[]; // Drop in a code block, function, or expression that evaluates to a boolean @omitif((self: Player): boolean => self.age < 18) age!: i32; - // @omitnull() + @omitnull() pos!: Vec3 | null; isVerified!: boolean; @inline __INITIALIZE(): this { diff --git a/modules/bs/index.ts b/modules/bs/index.ts deleted file mode 100644 index 8bb88a3..0000000 --- a/modules/bs/index.ts +++ /dev/null @@ -1,167 +0,0 @@ -import { OBJECT, TOTAL_OVERHEAD } from "rt/common"; - -let maxOffset: usize = __new(0, idof()); - -/** - * Central buffer namespace for managing memory operations. - */ -export namespace bs { - /** Current buffer pointer. */ - export let buffer: usize = maxOffset; - - /** Current offset within the buffer. */ - export let offset: usize = maxOffset; - - /** Byte length of the buffer. */ - export let byteLength: usize = 0; - - /** - * Sets the buffer to a given data object and initializes related properties. - * @param data - The data object to set as the buffer. - */ - // @ts-ignore: Decorator valid here - @inline export function setBuffer(data: T, byteLength: usize = bytes(data)): void { - buffer = changetype(data); - offset = changetype(data); - byteLength = byteLength; - maxOffset = byteLength + buffer; - } - - /** - * Ensures the buffer has sufficient capacity for a given size. - * If necessary, reallocates the buffer to accommodate the new size. - * @param size - The size to ensure capacity for. - */ - // @ts-ignore: Decorator valid here - @inline export function ensureCapacity(size: u32): void { - const newSize = offset + size; - if (newSize > maxOffset) { - const newPtr = __renew(buffer, (byteLength = nextPowerOf2(newSize - buffer))); - offset = offset - buffer + newPtr; - maxOffset = newPtr + byteLength; - buffer = newPtr; - } - } - - /** - * Ensures the buffer size is sufficient for a given size. - * If necessary, reallocates the buffer to the exact new size. - * @param size - The size to ensure. - */ - // @ts-ignore: Decorator valid here - @inline export function ensureSize(size: u32): void { - const newSize = offset + size; - if (newSize > maxOffset) { - const newPtr = __renew(buffer, (byteLength = newSize - buffer)); - offset = offset - buffer + newPtr; - maxOffset = newPtr + byteLength; - buffer = newPtr; - } - } - - /** - * Resizes the buffer to the specified size. - * @param newSize - The new buffer size. - */ - // @ts-ignore: Decorator valid here - @inline export function resize(newSize: u32): void { - const newPtr = __renew(buffer, newSize); - byteLength = newSize; - buffer = newPtr; - offset = buffer + newSize; - maxOffset = buffer + byteLength; - } - - /** - * Gets the remaining space available in the buffer. - * @returns The number of bytes remaining. - */ - // @ts-ignore: Decorator valid here - @inline export function getRemainingSize(): usize { - return maxOffset - offset; - } - - /** - * Clears data from a specified offset onward. - * @param fromOffset - The starting offset to clear from. - */ - // @ts-ignore: Decorator valid here - @inline export function clearFromOffset(fromOffset: usize): void { - if (fromOffset < offset) { - memory.fill(fromOffset, 0, offset - fromOffset); - offset = fromOffset; - } - } - - /** - * Shrinks the buffer to fit the current offset. - */ - // @ts-ignore: Decorator valid here - @inline export function shrink(): void { - if (offset > maxOffset) { - byteLength = offset - buffer; - buffer = __renew(buffer, byteLength); - maxOffset = byteLength + buffer; - } - } - - /** - * Shrinks the buffer and resets the offset, returning the buffer as a specified type. - * @returns The buffer cast to the specified type. - */ - // @ts-ignore: Decorator valid here - @inline export function shrinkTo(): T { - shrink(); - offset = buffer; - return changetype(buffer); - } - - /** - * Copies the buffer's content to a new object of a specified type. - * Optionally shrinks the buffer after copying. - * @param s - Whether to shrink the buffer after copying. - * @returns The new object containing the buffer's content. - */ - // @ts-ignore: Decorator valid here - @inline export function out(s: bool = false): T { - const len = offset - buffer; - const _out = __new(len, idof()); - memory.copy(_out, buffer, len); - if (s) shrink(); - offset = buffer; - return changetype(_out); - } - - /** - * Copies the buffer's content to a given destination pointer. - * Optionally shrinks the buffer after copying. - * @param dst - The destination pointer. - * @param s - Whether to shrink the buffer after copying. - * @returns The destination pointer cast to the specified type. - */ - // @ts-ignore: Decorator valid here - @inline export function outTo(dst: usize, s: bool = false): T { - const len = offset - buffer; - if (len != changetype(dst - TOTAL_OVERHEAD).rtSize) __renew(len, idof()); - memory.copy(dst, buffer, len); - if (s) shrink(); - offset = buffer; - return changetype(dst); - } -} - -// @ts-ignore: Decorator valid here -@inline function nextPowerOf2(n: u32): u32 { - return 1 << (32 - clz(n - 1)); -} - -// @ts-ignore: Decorator valid here -@inline function bytes(o: T): i32 { - if (isInteger() || isFloat()) { - return sizeof(); - } else if (isManaged() || isReference()) { - return changetype(changetype(o) - TOTAL_OVERHEAD).rtSize; - } else { - ERROR("Cannot convert type " + nameof() + " to bytes!"); - } -} \ No newline at end of file diff --git a/modules/tsconfig.json b/modules/tsconfig.json deleted file mode 100644 index 2ed0bb1..0000000 --- a/modules/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "assemblyscript/std/assembly.json", - "include": ["./**/*.ts"], - "compilerOptions": { - "experimentalDecorators": true, - "emitDecoratorMetadata": true - } -} diff --git a/package.json b/package.json index 3449db5..5694ba5 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "scripts": { "test": "rm -rf ./build/ && ast test", "build:bench": "rm -rf ./build/ && asc assembly/__benches__/misc.bench.ts -o ./build/bench.wasm --textFile ./build/bench.wat --transform ./transform --optimizeLevel 3 --shrinkLevel 0 --converge --noAssert --uncheckedBehavior always --runtime incremental --enable simd --enable bulk-memory", - "build:test": "rm -rf ./build/ && JSON_DEBUG=true asc assembly/test.ts --transform ./transform -o ./build/test.wasm --textFile ./build/test.wat --optimizeLevel 3 --shrinkLevel 0 --enable simd --runtime stub", + "build:test": "rm -rf ./build/ && JSON_DEBUG=true asc assembly/test.ts --transform ./transform -o ./build/test.wasm --textFile ./build/test.wat --optimizeLevel 3 --shrinkLevel 0 --runtime stub", "build:test:simd": "rm -rf ./build/ && JSON_DEBUG=true asc assembly/test.ts --transform ./transform -o ./build/test.wasm --textFile ./build/test.wat --optimizeLevel 3 --shrinkLevel 0 --enable simd --runtime stub", "test:wasmtime": "wasmtime ./build/test.wasm", "test:wasmer": "wasmer ./build/test.wasm", @@ -67,5 +67,8 @@ "prettier": "prettier -w ." }, "type": "module", - "types": "assembly/index.ts" + "types": "assembly/index.ts", + "dependencies": { + "as-bs": "^1.0.1" + } } diff --git a/transform/lib/index.js b/transform/lib/index.js index ecce511..6e17ea0 100644 --- a/transform/lib/index.js +++ b/transform/lib/index.js @@ -361,16 +361,10 @@ class JSONTransform extends Visitor { } addRequiredImports(node) { if (!this.imports.find((i) => i.declarations.find((d) => d.foreignName.text == "bs"))) { - const __filename = fileURLToPath(import.meta.url); - const __dirname = path.dirname(__filename); - let relativePath = path.relative(path.dirname(node.range.source.normalizedPath), path.resolve(__dirname, "../../modules/bs/index.ts")); - if (!relativePath.startsWith(".") && !relativePath.startsWith("/")) - relativePath = "./" + relativePath; - const txt = `import { bs } from "${relativePath}";`; - if (!this.jsonImport) { - this.jsonImport = txt; + if (!this.bsImport) { + this.bsImport = "import { bs } from \"as-bs\""; if (process.env["JSON_DEBUG"]) - console.log("Added bs import: " + txt + "\n"); + console.log("Added as-bs import: " + this.bsImport + "\n"); } } if (!this.imports.find((i) => i.declarations.find((d) => d.foreignName.text == "JSON"))) { diff --git a/transform/lib/index.js.map b/transform/lib/index.js.map index 867fdcf..7c68437 100644 --- a/transform/lib/index.js.map +++ b/transform/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,oBAAoB,EAAU,MAAM,EAAqC,uBAAuB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAyD,IAAI,EAAa,SAAS,EAA8J,MAAM,uCAAuC,CAAC;AAC/gB,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;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C,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/transform/src/index.ts b/transform/src/index.ts index 9f64864..21a9a73 100644 --- a/transform/src/index.ts +++ b/transform/src/index.ts @@ -405,20 +405,9 @@ class JSONTransform extends Visitor { // } // } if (!this.imports.find((i) => i.declarations.find((d) => d.foreignName.text == "bs"))) { - const __filename = fileURLToPath(import.meta.url); - const __dirname = path.dirname(__filename); - - let relativePath = path.relative(path.dirname(node.range.source.normalizedPath), path.resolve(__dirname, "../../modules/bs/index.ts")); - - if (!relativePath.startsWith(".") && !relativePath.startsWith("/")) relativePath = "./" + relativePath; - // if (!existsSync(relativePath)) { - // throw new Error("Could not find a valid json-as library to import from! Please add import { JSON } from \"path-to-json-as\"; in " + node.range.source.normalizedPath + "!"); - // } - - const txt = `import { bs } from "${relativePath}";`; - if (!this.jsonImport) { - this.jsonImport = txt; - if (process.env["JSON_DEBUG"]) console.log("Added bs import: " + txt + "\n"); + if (!this.bsImport) { + this.bsImport = "import { bs } from \"as-bs\""; + if (process.env["JSON_DEBUG"]) console.log("Added as-bs import: " + this.bsImport + "\n"); } }