# KidLisp Directory Structure This is the navigation map for everything KidLisp-related in the monorepo. For the **runtime registry, spec pointers, and conformance corpus**, see [`SCORE.md`](SCORE.md). ## 🏠 The KidLisp House (this directory) `kidlisp/` is the *house* β€” spec, docs, corpus, tooling, registry. It is **not** where the reference evaluator lives (see Β§"Reference Implementation" below). ``` kidlisp/ β”œβ”€β”€ SCORE.md # 🎯 Runtime registry + spec pointers + conformance corpus β”œβ”€β”€ STRUCTURE.md # πŸ—ΊοΈ This file β”œβ”€β”€ README.md # πŸ“– Language overview & user-facing intro β”œβ”€β”€ COMPLETE_API_MAP.md # πŸ“‹ All 118 built-ins, grouped β”œβ”€β”€ CHAOS-MODE.md # πŸŒ€ Chaos-mode notes β”œβ”€β”€ PERFORMANCE-ANALYSIS.md # ⚑ Perf benchmarks β”œβ”€β”€ CITATION.cff # πŸ“š Citation metadata β”œβ”€β”€ docs/ β”‚ β”œβ”€β”€ core/ β”‚ β”‚ β”œβ”€β”€ kidlisp-decree.md # β†’ latest-stable pointer β”‚ β”‚ β”œβ”€β”€ kidlisp-decree-26.md # πŸ“œ Decree '26 (current stable spec) β”‚ β”‚ └── language-reference.md # Syntax + constructs β”‚ β”œβ”€β”€ features/ # Per-feature deep dives (embed, fade, suck, transforms…) β”‚ β”œβ”€β”€ functions/ # Per-function references β”‚ β”œβ”€β”€ implementation/ # Implementation notes (not normative) β”‚ β”œβ”€β”€ integration/ # External integrations (Feral File, etc.) β”‚ └── reports/ # Technical analyses β”œβ”€β”€ dictionary/ # Token dictionary work β”œβ”€β”€ examples/ # Working KidLisp pieces β”œβ”€β”€ reports/ # Architecture / comparison reports └── tools/ # Source-fetching + API-summary scripts (Node) ``` ## πŸ—οΈ Reference Implementation (lives outside this directory) The canonical evaluator is **not** under `kidlisp/`. It lives where the web runtime needs it: | Path | What it is | |---|---| | `system/public/aesthetic.computer/lib/kidlisp.mjs` | Reference evaluator (118 built-ins, frozen path β€” load-bearing for deployment) | | `system/netlify/functions/store-kidlisp.mjs` | Source storage / `$code` resolution / hit-count API | | `system/public/aesthetic.computer/disks/*.lisp` | Built-in KidLisp pieces shipped with AC | Don't move these. The Decree (`docs/core/kidlisp-decree-26.md`) is the abstract spec; `kidlisp.mjs` is the behavioral definition. ## πŸ›°οΈ Sibling Implementations (other runtimes in the monorepo) Sibling directories at the monorepo root, each implementing or supporting KidLisp on a different host: | Path | Purpose | |---|---| | `fedac/native/cl/kidlisp-*.lisp` | Common Lisp port (AC Native OS, runs on bare-metal ThinkPads) | | `slab/menuband/` | Swift port for Menuband (planned β€” see SCORE.md) | | `kidlisp-wasm/` | WASM compiler | | `kidlisp-playdate/` | Panic Playdate runtime (C) | | `kidlisp-gameboy/` | Game Boy ROM toolchain (GBDK + asm) | | `kidlisp-n64/` | Nintendo 64 exploration (bare-metal asm) | | `kidlisp-cli/` | Public `kidlisp` CLI | | `kidlisp-sidecar/` | Clojure service | | `kidlisp-tools/` | Probe + source-tree utilities (separate from `kidlisp/tools/` β€” see SCORE.md Β§6) | | `kidlisp-knowledge/` | LLM-oriented knowledge base aggregator | | `kidlisp.com/` | Landing page | | `vscode-extension/kidlisp-syntax.ts` | Editor syntax highlighting | For status, claimed conformance level, and per-runtime notes: see [`SCORE.md`](SCORE.md) Β§3. ## 🎯 Quick Navigation - **What is KidLisp?** β†’ [`README.md`](README.md) - **Adding a new runtime / checking conformance** β†’ [`SCORE.md`](SCORE.md) - **Reading the spec** β†’ [`docs/core/kidlisp-decree-26.md`](docs/core/kidlisp-decree-26.md) - **Function reference** β†’ [`COMPLETE_API_MAP.md`](COMPLETE_API_MAP.md) or [`docs/functions/`](docs/functions/) - **Working examples** β†’ [`examples/`](examples/) - **Dev tooling** β†’ [`tools/`](tools/) (this dir) or `kidlisp-tools/` (sibling)