This post was written as part of the Kiroween 2026 hackathon.

In 1987 HyperCard let people with no programming background build real software out of cards, buttons, fields and
short English-like scripts. NecroCard brings that model back in the browser, and adds the one thing 1987 did not
have: you describe a stack in a sentence, and an agent called Summon writes the first draft. Every card, button and
script stays editable.

It is free, it runs in the browser, and three sample stacks work with no server at all:
https://necrocard.onrender.com

I built it with Kiro for Kiroween 2026, in the Resurrection category. The hard part was not the cards. It was the
language: NecroTalk, a small scripting language with its own hand-written tokenizer, parser and tree-walking
evaluator. No eval. This post is about building an interpreter with an AI agent, and why the most useful thing I
did was freeze the language in writing before any code existed.

Here is the whole thing in under three minutes (how Kiro built it starts at 1:55):

The contract comes first

The project started as one hand-written brief. Section 4 of it is the frozen NecroTalk subset: exactly which
handlers, commands, expressions and error messages exist, and nothing else. Kiro turned the brief into five steering
documents, and one of them, necrotalk.md, loads only when work touches the interpreter. It carries the frozen
grammar and one exact error format: Line N: message.

Then came twelve specs, each with requirements, a design and a task list, built in order: the stack model, the
interpreter, browse and edit modes, the script editor, Summon, sharing, the 1-bit skin and so on.

The frozen grammar turned out to do three jobs at once:

  1. It told Kiro what to build.
  2. It gave a reviewer something exact to check the code against.
  3. It let Summon check every script it generates against the real interpreter before you see it.

A reviewer that can only read

I gave Kiro a custom agent, necrotalk-reviewer, whose only tool is reading files. It loads the brief's grammar and
the steering, reads the interpreter, and reports anything that does not match: grammar added or missing, wrong
error formats, module boundaries crossed. Every review ends with PASS or FINDINGS.

Its first run was on code that already had 198 passing tests. It returned 19 findings. The real ones included:

  • custom handlers could not be called by name, though the grammar requires it;
  • a one-line else if could close an if block without end if;
  • error messages leaked internal parser names instead of Line N: messages;
  • constructor(1) and __proto__(1) reached JavaScript internals instead of failing as unknown functions.

Over four rounds it also found the biggest gap in the spec itself: nothing could read a field's text inside an
expression. put field "Score" + 1 into field "Score" was impossible, so the quiz could never keep score.

The tests were green because they tested what had been built. The reviewer compared what had been built with what had
been promised. That is a different question, and it is a cheap one to ask: one read-only pass, no edits, no
browser.

Property tests and a comment that wasn't

Property-based tests with fast-check check the rules that should always hold, on random input. The interpreter's
favourite was "parse, print, parse again gives the same program". On its first runs it found printer bugs:

  • -(-b) printed as --b. In NecroTalk, -- starts a comment, so the rest of the line disappeared.
  • a is (not b) printed without its parentheses and came back as the is not operator.

No example test would have tried a double minus. The stack model's round-trip property found a different kind of
bug on its first run: the date generator produced years before 1000, which broke the schema's date pattern.

Catching bugs in documents

The step that saved the most time happened before any code: reviewing each design as a document. In the stack-model
design, review caught three failures that would only have shown up at run time, including a JSON schema shape that
quietly rejects every object. In the interpreter design it turned the dialogs asynchronous and added an object
reference node, two changes that would have been multi-day refactors later.

What I learned

  • Freeze the contract, then let agents check against it. A written grammar did more work than any single test file, because three different things could check against it.
  • Read-only agents are underrated. The reviewer found more real defects than the test suite, at a fraction of the cost of a full agent session.
  • A task list is a resume point. The interpreter spec ran out of credits halfway through. Because the work was a numbered task list, the next session picked up where it stopped.
  • Say where the method broke. One spec, the hosting one, documents code that was drafted outside Kiro. The usage log says so plainly, and so does this post.

Try it

All 50 logged sessions are in the repo's KIRO_USAGE.md, and the .kiro/ folder holds the steering, specs, hooks and
the reviewer agent exactly as Kiro used them.