-
-
The public homepage makes Stackyard’s promise: describe a small app and get a stack whose logic you can read.
-
This is the in-app homepage: the desk is the starting point for creating, playing, and browsing stacks.
-
Pip’s first-visit tour teaches the controls in place, inside the actual interactive workspace.
-
A times-tables quiz begins as a plain-language brief written on the desk slate.
-
The live builder separates writing, checking, and drawing so the work stays visible.
-
GIF
From slate to cards: the demo shows the request being entered and the generated stack taking shape.
-
GIF
The checker exercises the full stack; it advances only when the cards, button sequences, and the AI’s own checks pass.
-
This completed run reports 8 of 8 cards, 21 of 21 buttons, 42 of 42 ordered presses, and 2 of 2 AI checks.
-
The generated Times Tables Quiz opens in Stackyard’s player as a working, navigable stack.
-
GIF
Watch a quiz choice update the app, then see the corresponding HyperTalk handler beside the card.
-
Author mode names each object and keeps its selected HyperTalk script beside the card it controls.
-
Reveal scripts keeps Night Kitchen playable while exposing the card’s objects and available handlers.
-
GIF
The demo shows Kiro using Stackyard’s 14-tool MCP server to create a stack and receive its validation result.
-
Stackyard exports the finished stack as one HTML file that opens in the browser.
-
GIF
The exported HTML runs locally without an account or AI; this clip follows the file into its playable stack.
The Door Inside the Button
A radio has a back. A music box has a spring. A HyperCard button had words.
In 1987, those words could be as simple as go to next card. You could open the button, read the instruction, change it, and watch the little world move. That was the part of HyperCard I wanted to carry forward: software close enough to understand.
AI can now make an app from a sentence. The screen may arrive quickly; the reasoning behind it can still feel sealed away. When something behaves unexpectedly, another prompt can feel like the only way back in. Stackyard grew from a different question: could the person who asked for the app read what makes it work and keep the app afterward?
A language the machine can obey
In Stackyard, you describe a small app in plain English. The AI builds it as a stack of cards, with buttons and scripts written in a usable subset of HyperTalk, a language designed to read like English.
A button’s script might be:
on mouseUp
-- check this answer
checkAnswer "12"
end mouseUp
The code stays where the action is. Turn on Reveal scripts and Stackyard outlines scripted parts. Select one to read its handler. In Author mode, you can edit scripts and add or change cards, buttons, fields, shapes, and pictures. Pip, the guide, introduces the real controls; sample stacks let you explore everything from a haunted kitchen to an arrow-key arcade game.
Before a generated stack appears, Stackyard runs it on a temporary copy. Its checker parses the scripts, confirms that commands and object names exist, opens every card, presses the buttons individually and in sequence, and sends game messages such as arrow keys. It also runs any checks the AI supplied. If something fails, the model gets a plain-English explanation and up to three chances to repair it. The result reports what was actually checked.
That check has a boundary: it exercises defined paths; it cannot prove every possible interaction correct. Stackyard is designed to show its evidence rather than promise perfection.
Pictures follow the same idea of visible craft. An image model draws card art; Stackyard’s own Atkinson dithering turns it into black-and-white pixels, and a vision model helps place clickable hotspots. Each card is 512 × 342 pixels. The finished stack exports as one HTML file that runs offline, contains no AI, and blocks network access. AI-assisted authoring is for adults; the exported app can be shared with players of any age.
Building the interpreter and the escape hatch
I built Stackyard in Kiro, starting with specifications for the product and its MCP server. Steering documents carried the same language and safety rules across sessions. I split the first major build day into nine parallel Kiro tracks, then brought their work together and tested the result in the browser.
The interpreter is written in TypeScript. It parses HyperTalk into syntax trees and executes those trees through a small host interface; script text never becomes JavaScript. A shared language reference tells the interpreter, help window, checker, and AI which commands Stackyard actually supports. The same interpreter and checker serve the app, the AI function, the exported player, and Stackyard’s 14-tool MCP server. Kiro used that server to create, validate, and export a stack.
The hardest lesson came from a stubbornly small failure. The checker told the model that a handler was 27 lines when the limit was 25. The model returned the same mistake three times. The error was accurate; it gave the model no way out. I changed the feedback to explain a HyperTalk repair: move shared behavior into the stack script and let the button pass the message along. The model could act once the correction spoke the language it was writing.
My interpreter needed that discipline too. At first it rejected one of HyperTalk’s best-known examples:
put the first word of the third line of field "hello"
The parser did not understand the before an ordinal. I fixed the grammar and added the phrase to the language checks. Stackyard had to earn the right to call its scripts readable.
I also built a 42-case adversarial suite for the MCP server, probing path escapes, endless loops, runaway text, invalid changes, and concurrent writes. Some early checks appeared to pass for the wrong reasons. Reading their results closely exposed gaps in both the tests and the implementation.
What the work taught me
The latest saved text-only evaluation, dated November 11, sent 12 fixed requests through the real function. Eleven passed the checker within three attempts; four passed on the first. Every passing stack passed its button checks. That result records real progress and a real weakness: first-attempt reliability still needs work.
The larger lesson was that trust lives in the whole chain: a language the author can read, an interpreter that gives it meaning, a checker that exercises it, and feedback that helps repair it. Readability without execution leaves doubt. Execution without readability leaves the author outside.
Stackyard is my attempt to leave the door attached to let a person open the button, read its words, change them, and carry the working app away.
Built With
- azure-ai-foundry
- css
- flux.2
- generative-ai
- gpt-4.1-mini
- gpt-5-mini
- gpt-oss-120b
- groq
- html
- hypertalk
- javascript
- kiro
- langfuse
- lenis
- model-context-protocol-(mcp)
- motion
- node.js
- react
- sharp
- typescript
- upstash-redis
- vercel
- vite
- zod

