Files
picoGraph/scripts/nodes/library/strings/index.js
Max Litruv Boonzaayer e64f3e881e Initial commit
moved from private version control
2025-10-19 21:12:41 +11:00

35 lines
1.2 KiB
JavaScript

import { stringTostrNode } from "./tostr.js";
import { stringTonumNode } from "./tonum.js";
import { stringChrNode } from "./chr.js";
import { stringOrdNode } from "./ord.js";
import { stringSubNode } from "./sub.js";
import { stringSplitNode } from "./split.js";
import { stringTypeNode } from "./typeOf.js";
/**
* All string-related node modules backed by PICO-8 helpers.
*/
export const stringNodes = [
stringTostrNode,
stringTonumNode,
stringChrNode,
stringOrdNode,
stringSubNode,
stringSplitNode,
stringTypeNode,
];
/**
* Checklist tracking coverage of documented string helpers.
* @type {Array<{ function: string, nodeId: string, implemented: boolean }>}
*/
export const stringFunctionChecklist = [
{ function: "TOSTR", nodeId: "string_tostr", implemented: true },
{ function: "TONUM", nodeId: "string_tonum", implemented: true },
{ function: "CHR", nodeId: "string_chr", implemented: true },
{ function: "ORD", nodeId: "string_ord", implemented: true },
{ function: "SUB", nodeId: "string_sub", implemented: true },
{ function: "SPLIT", nodeId: "string_split", implemented: true },
{ function: "TYPE", nodeId: "string_type", implemented: true },
];