Skip to content

Add nan and infinite as separate types#76

Merged
tolauwae merged 1 commit into
mainfrom
fix/nan
Jun 1, 2026
Merged

Add nan and infinite as separate types#76
tolauwae merged 1 commit into
mainfrom
fix/nan

Conversation

@tolauwae
Copy link
Copy Markdown
Member

@tolauwae tolauwae commented Jun 1, 2026

No description provided.

@tolauwae tolauwae merged commit a95188a into main Jun 1, 2026
5 checks passed
@tolauwae tolauwae deleted the fix/nan branch June 1, 2026 12:18
Comment thread src/messaging/Message.ts

export namespace Message {
import Inspect = WARDuino.Inspect;
import Integer = WASM.Integer;
Comment thread src/messaging/Parsers.ts

export function signed(value: bigint, bits = 32) {
let x = BigInt(value);
let x = value;
Comment thread src/messaging/Parsers.ts

function stacking(objects: {value: bigint, type: any}[]): WASM.Value<bigint | number>[] {
const stacked: WASM.Value<bigint | number>[] = [];
function extractType(object: {value: bigint | number, type: any}): Type {
Comment thread src/messaging/Parsers.ts
return WASM.typing.get(object.type.toLowerCase()) ?? WASM.Special.unknown;
}

function stacking(objects: {value: bigint | number, type: any}[]): WASM.Value<Type>[] {
Comment thread src/sourcemap/Wasm.ts
}

export interface Nothing extends Value<number> {}
export interface Nothing extends Value<Special> {}
@tolauwae tolauwae mentioned this pull request Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants