Much Ado About Verada

A cheerful guide to programs that keep their promises.

Rehearsal rooms

Each chapter directory contains three separate, complete projects. Choose one syntax and copy that directory to a fresh working folder. The projects are alternatives; combining all three would declare the same program more than once.

Chapter Vada · Ada Varc · C-family Vibe · Python Expected output
1 · Curtain Up Vada Varc Vibe The play's the thing.
2 · A Name and a Number Vada Varc Vibe Seats left: 2
3 · To Branch, or Not to Branch Vada Varc Vibe Full house.
4 · Measure for Measure Vada Varc Vibe Sold: 6
5 · A Seat by Any Other Name Vada Varc Vibe Zero seats left and a request for seat 3
6 · Once More Unto the Loop Vada Varc Vibe Tickets 1 through 3
7 · All the World's an Array Vada Varc Vibe Seat 8 taken and seats 3, 5, and 7 free
8 · A Midsummer Night's Proof Vada Varc Vibe Three free seats
9 · Is There Room in the House? Vada Varc Vibe A free seat in the first row and a full house in the second
10 · The Cast of Characters Vada Varc Vibe Seat 3 available and seat 8 already taken
11 · The Play Within the Package Vada Varc Vibe Seat 3 is available.
12 · To Have and to Hold Vada Varc Vibe Reserve seat 3, refuse the repeat request, then release seat 3
13 · Exit, Pursued by a Counterexample Vada Varc Vibe Seat 8 is taken and seat 5 stays free
13 · Card three, still open Vada Varc Vibe prove leaves one promise undecided (B5115); run prints The crates stay in two stacks.
14 · The Box Office Opens Vada Varc Vibe Four tallies of 3, 2, 2, and 3, then a full-house refusal
15 · A Play Is Only as Good as Its Script Vada Varc Vibe Viola reserves seat 3 and seat 5 under the current contract

For example, from the repository root:

veradic prove --project docs/book/examples/04-measure-for-measure/vada/verada.toml
veradic run --project docs/book/examples/04-measure-for-measure/vada/verada.toml

Or, from inside a copied project, use veradic prove and veradic run. Each verada.toml contains:

[project]
source-dirs = ["."]

Copy the entire folder for your route, including verada.toml and any supporting source files. Run all three routes with veradic to use the same project workflow and proof checks.

Exercises deliberately change these working projects. Follow each chapter's instructions on which edits to keep and when to restore the original. The validation recipe records the checked variants without adding broken programs to the normal source directories.