Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
JavaScript
1234567891011121314151617181920212223// kidlisp-analyzer.mjs - KidLisp source analysis for NFT metadata// Keeps it simple: character count is the only trait.
export function analyzeKidLisp(source, options = {}) { if (!source || typeof source !== "string") { return { error: "Invalid source", chars: 0, lines: 0, traits: [] }; }
const chars = source.length; const lines = source.split("\n").filter(l => l.trim() && !l.trim().startsWith(";")).length;
return { chars, lines, traits: [ { name: "Length", value: String(chars) }, ], };}
// Export version for trackingexport const ANALYZER_VERSION = "3.0.0";