plum

#treesitter#compiler#wasm

git clone https://git.pyrossh.dev/plum

A statically typed, imperative programming language inspired by rust, python


c691464 — Peter John 2026-11-17T09:23:32+05:30
plan: U6 benchmark against master
711fc10 — Peter John 2026-11-17T09:10:20+05:30
plan: U4i
df0b446 — Peter John 2026-11-16T23:17:37+05:30
Merge sl/shared-flag: the run-time shared bit measured and dropped (backlog)
559ac66 — Peter John 2026-11-16T23:17:18+05:30
U4h: run-time shared bit measured and dropped
35a00dd — Peter John 2026-11-16T22:40:24+05:30
Merge sl/view-fusion: a screen's and a kind's view painted without building its list
5b6c68a — Peter John 2026-11-16T22:39:49+05:30
U4g: view lists painted with none made
c5096c5 — Peter John 2026-11-16T22:15:32+05:30
Merge sl/inliner: small trap-free functions inlined in wasm, crash names kept
77ca54d — Peter John 2026-11-16T22:15:01+05:30
U4e: inline small functions that cannot trap
fc1a9a2 — Peter John 2026-11-16T22:05:26+05:30
Merge sl/null-nil: a lone payload-free variant is ref.null; br_on_cast_fail for the other arms
d5ce22f — Peter John 2026-11-16T22:05:02+05:30
U4f: Nil/None as ref.null, br_on_cast_fail for constructor arms
0423acb — Peter John 2026-11-16T21:32:09+05:30
Merge sl/std-fastpath: delivery fast path and held-key bitset, literal strings in globals and exact-size joins, sortBy
4bb5a92 — Peter John 2026-11-16T21:31:30+05:30
U4d part 3: Slice/List.sortBy(key), Clockwork's crowd sorts on a cached key
f4569b2 — Peter John 2026-11-16T21:31:30+05:30
U4d part 2: literal strings in globals, interpolation in one exact-size buffer
7d72c7e — Peter John 2026-11-16T21:31:30+05:30
U4d part 1: game delivery fast path, held keys as bits
ae8be31 — Peter John 2026-11-16T21:13:59+05:30
Merge sl/inline-closures: closures specialised by callee size; uniqueness proofs per match arm, inline if, read-only field locals, read-only binders
f60cbdb — Peter John 2026-11-16T21:13:35+05:30
U4c: in place: a move per match arm, a hand-over through an inline if, read-only field locals
a94fa57 — Peter John 2026-11-16T21:13:35+05:30
U4c: closures inlined by callee size, not a program-wide cap
f82910b — Peter John 2026-11-16T21:05:49+05:30
plan: U4h shared flag
c9ae7c0 — Peter John 2026-11-16T20:54:33+05:30
plan: U4d-g from the perf survey
539753d — Peter John 2026-11-16T20:42:34+05:30
Merge sl/field-layout: grouped field lines kept by the formatter; headers with many fields grouped
01551fd — Peter John 2026-11-16T20:42:21+05:30
U5: struct and variant fields in grouped lines; the formatter keeps the grouping as written
09c2e37 — Peter John 2026-11-16T20:27:19+05:30
plan: U4c closures always inlined by size
0d40164 — Peter John 2026-11-16T20:22:04+05:30
Merge sl/typed-closures: closures as typed structs, one allocation, no casts per call; constructors as function values
2dc2a4a — Peter John 2026-11-16T20:20:54+05:30
U4a: one struct per closure, called with no cast; a constructor is a function value
09f755b — Peter John 2026-11-16T20:16:25+05:30
Merge sl/paint-direct: one trait call per painted item, no closure in the paint walks, unturned fast paths, null-gfx stubs unchecked
82c4078 — Peter John 2026-11-16T20:16:03+05:30
U4b: paint each kind's own step, no closure in the paint walks, unturned fast paths, raw null-gfx stubs
7b9cdb5 — Peter John 2026-11-16T20:14:56+05:30
backlog: the time-travel snapshots question
fc0156a — Peter John 2026-11-16T19:48:15+05:30
plan: U5 is layout only
f755336 — Peter John 2026-11-16T19:47:44+05:30
plan: U5 field layout
8ecd0d8 — Peter John 2026-11-16T19:41:29+05:30
Merge sl/goto-type: @final screen name, @std GoTo variant
9aed011 — Peter John 2026-11-16T19:41:13+05:30
U2b: `@final` trait defaults and `@std` variants; Screen.name can't be overridden, a GoTo is made only by Cmd.goTo<S>()
d845f6f — Peter John 2026-11-16T19:26:28+05:30
Merge sl/closure-match: closure binder in two arms, nullary variant arm in an inlined closure
b1bbd4b — Peter John 2026-11-16T19:26:14+05:30
Fix two closure/match bugs: a closure binder shared by two arms is callable in each; a nullary variant arm in a specialised closure no longer matches everything
45e4c29 — Peter John 2026-11-16T19:17:14+05:30
Merge sl/uniq-filter: a closure passed to a non-escaping fn parameter doesn't keep what it captures
b8b2462 — Peter John 2026-11-16T19:16:53+05:30
U1: a closure handed to a fn that never lets it escape no longer counts as keeping what it captures, so in-place updates don't depend on which closures closure specialisation copied. It copies a callee for at most 8 closures program-wide (`closure_spec::MAX_COPIES`), in the order it meets them; a `filter`/`any` added to std/game's `Looping` took `List.any`'s last copy from Orbit Runner's `PlayingScreen.rules`, whose closure reads `self`, so `rules` was no longer read-only, `Next(state: moved, then: moved.rules())` no longer moved `moved` in, `Next.state` turned shared and `PlayingScreen.update` lost four of its five in-place spreads (and `stepped` its one). `readOnlyParams` now judges the uses inside such a closure like any other use (`passedClosures`, `An.keepsNoFn` from `closure_escape::nonEscapingFnParams`; not for `@native` bodies or a label two units share). `Looping.without`, `stopsOf` and `holds` are `filter`/`map`/`any` again. In-place counts unchanged for Orbit Runner, Balloon Pop, Clockwork and Menu; Orbit Runner checksum 612522477 kept. Tests: uniqueness_fold aReceiverReadInsideANonEscapingClosureIsNotKept, game_in_place closuresElsewhereDoNotDecideASpread. docs/backlog.md: the delivery fold entry, and a performance entry on the copy cap deciding which closures are inlined.
fcca451 — Peter John 2026-11-16T19:14:50+05:30
plan: U2b
21e3ad8 — Peter John 2026-11-16T19:12:08+05:30
Merge sl/screen-names: screens named by type, Cmd.goTo<S>(), @stepsWhen removed, Dice docs
51f3b6c — Peter John 2026-11-16T19:11:48+05:30
U2: screens are named by their type and navigation is by type; `@stepsWhen` removed
831c28f — Peter John 2026-11-16T18:50:19+05:30
plan: U4a-d perf
34ca8a7 — Peter John 2026-11-16T18:47:04+05:30
plan: U1-U4 after T7
dd87895 — Peter John 2026-11-16T17:40:03+05:30
replay check's other-seed case flips the seed's low half (`f[2]`), not the header width (`f[3]`): a recording's first tick now says its window (`S800,600`), so the width alone no longer moved the run and the case passed only by accident before
1f3569a — Peter John 2026-11-16T17:33:03+05:30
Merge branch 'simpler-language' into sl/fix-game
af2eb22 — Peter John 2026-11-16T17:33:03+05:30
std/game review fixes (T7 items 1-21): undo keeps its redo through held keys (`Game.liveHeld` re-bases what the first tick after a move compares with); moves put the music back (`Game.loops`/`startLoops`, kept by `Loop`/`Stop` live and replayed, `resound` stops and starts the host's loops after a move; `main` starts music with `game.looping(io, sound, volume)`); a flat (zero-scaled) item is never hit (`Place.toLocal` -> Option, through `invert`); window resizes are recorded (`S<w>,<h>` token on a tick line when the window differs from the last written, `Ticker.written`, `Replay.written`; `onScreen` fills only unsized ticks); a nested `Blend` restores the enclosing mode (`Views.paintIn`/`paintCulledIn` thread it); `Bounce` points velocity back inside (`Body.bounced`); `Body.wrap` gives lo for an empty span and never hi; `then` chains stop at `Delivery.ThenDepth` (1000) naming the actions' type; `TestRig.dispatch` goes through `Game.dispatched`, a history entry of its own (`HistoryTick.apply`, `Dispatch`) that moves replay; the rig's ticks carry its window and a framed/replayed input's window resizes it; snapshots every `Game.SnapEvery` (600) ticks (`Game.snaps`, `Snap`; at most cap/600, dropped past a move back, retaken while playing on; a rewind from one equals a rewind from the start); Clockwork's minimap is an `Overlay` (presses no longer reach walkers under it); Balloon phase is its own draw (floatAt(3)); std `Dice(seed).roll(tick, kind, id)` with kinds mixed apart from ids, used by both games (Orbit Runner `DealRoll`/`CatchRoll`/`MineRoll`, Balloon Pop `LaunchRoll`/`RiseRoll`), `Dice.scatter` for the stars and confetti; `OnDemand` + `OnHeld` sleeps while nothing is held (`Held.any`); `OnButtonDown`/`OnButtonUp` subscriptions; `Button` is an `Actor` stepping its children; `Group`/`Blend` `Enabled` documented as `ChildrenOnly`; `Line(x, y)` and its width scaled across the segment (`Line.across`); `Cmd.travels` used by `obey`, Gfx header rewritten, `Test.expectObject` removed; lit `Spinner` bounds hold its halo, `Sprite.frameAt` safe for 0 frames and negative clocks, `Viewport.lookAt` stops on a zoom not above 0; `Aabb.shrink` replaces `Arena.inside`; Balloon Pop clouds wrap by `Body.wrap`. `Looping`'s helpers are walks, not `filter`s: a `filter` there costs Orbit Runner's `PlayingScreen.update` 4 of its 5 in-place spreads. Orbit Runner checksum 166413027 to 612522477 (new dice keys); Clockwork 294124446 kept. Tests: tests/std/game (Game, Replay new, ScreenSlice, View, Body, Line, Sprite, Place, Input), tests/std/math (Dice new, Aabb), games' tests, host_test (nested blend), game_entry_test (then cycle, zero zoom); docs/game.md
a39a0c4 — Peter John 2026-11-16T17:32:00+05:30
T7 compiler review fixes: cell reuse and uniqueness never trust a static called through a type parameter (`T.bump(v)` with `T` a type parameter, `Self` or a trait may be any type's `bump`: reuse drops every candidate static of that name, uniqueness's static-as-value escape covers every owner's and `methodRecvKnown` no longer moves such a call to a `$unique` version; closure_spec, closure_escape and the purity lookups fail safe); a `[UnitTest]` fun is a test only without parameters and without a return type (or `-> Unit`), so `fun sample() -> Graph` is a helper; a static of a generic type used as a value is a checker error (`static 'Holder.twice' of the generic type 'Holder' can't be used as a value`), not a codegen error; uniqueness's bounded-parameter stamp (`boundedParams`) leaves out every name bound again in the body through the renamer: closure parameters and loop binders too; an imported `[App]` file's entry points (`main`, `export fun`s) become statics again, not exported, and the file's bare calls of them are qualified (`main()` is `Game1.main()`, not the program's main; parser `qualifyStaticCalls`); the same test name in two files is an error naming both; a list literal's `plain` excludes `/`, `%` and interpolations, so the item runs first; `[Show]` on a field holding a function or a trait object without `toStr` (in a type argument too) is an error at the type; the parse cache's folder stem is the executable's stem and a hash of its full path (`plum.1a2b3c4d`), so a debug and a release build sharing PLUM_CACHE_DIR don't prune each other. Checked, no change: field defaults of generic owners are checked at the declaration (`TNamed(owner)` is the owner marker every OWNER_KEY use reads); constructions run their written values in written order, then the defaults in declaration order (docs now say so). Tests: e2e_mem/reuse static_through_a_type_parameter_not_reused, tests/fbip/reuse_through_type_param.plum, tests_lower aZeroParameterFunWithAResultIsAHelper, review_tests a_static_of_a_generic_type_is_not_a_value, uniqueness_fold aShadowingClosureParamOrLoopBinderIsNotTheBoundedParam, modules_tests an_imported_apps_entry_points_are_statics_and_its_bare_calls_name_them, loader aTestOfTheSameNameInTwoFilesIsAnError, list_literal aDivisionOrAnInterpolationAfterAConditionalItemKeepsTheOrder, diagnostic_tests showRefusesFunctionsAndTraitsWithoutToStr and aGenericTypesFieldDefaultIsCheckedAtTheDefault, parse_cache twoExecutablesOfOneNameDoNotPruneEachOther. Docs: language.md (tests: no return type, one name per program; statics of generic types as values; defaults' order), tools.md (tests, cache folders), std.md, std/Test.plum, the CLI's help
be6ccaa — Peter John 2026-11-16T17:06:37+05:30
T7 review fixes, tests and docs: test-all's sweep also runs compiler/game/web-test/fixtures/tests (stress_state_view's 3 tests ran nowhere); Os chmod read back by what the bits allow (0o400 refuses a write, 0o600 allows it; Os has no stat and readFile of an unreadable file is Ok); a silent sound's commands checked against the recorded host calls (compiler/game host_test aSilentSoundsCommandsCallNoHost, fixture cmd_sound_fixture.plum: a tick's Play/Loop/Stop of Sound.Silent and of sound 3, only sound 3's reach the host); Orbit Runner's 600-tick recorded run pinned (`PlayingScreenHelpers.pinned`: an orb then a mine right of the ship, the rest away; `heldRight`), so it scores 10 and loses a life whatever the seed (checked on 8 seeds); old_forms_test asserts the full "undefined name 'palette'" error; game_in_place_test guards Clockwork (OrreryScreen.update 4, stepped, Body.place) and Menu (Body.place, Game.goTo$unique, Game.obey 4); tests/std/base64.plum merged into tests/std/encoding/Base64.plum (`Base64Helpers.bytes`). Docs: language.md (an imported main is its [App] primitive's static, `OrbitRunner.main(io)`, nothing global; a game is `main` returning a `Game`; the error chain qualified, `in Demo.outer<Plain>`; the @stepsWhen sample after its paragraph; `GraphHelpers.sample()` as the zero-parameter helper; std and examples only compiled by the sweep), tools.md (the same three), std.md (funs without parameters), game.md's Beside master row (ViewProbe and Stepper in tests/std/game/View.plum), AGENTS.md (the sweep's folders)
c151e44 — Peter John 2026-11-16T16:45:31+05:30
master's games ported: examples/games/clockwork (Clockwork.plum, screens/OrreryScreen, actors/Orbit, Spinner, Walker; master's sprites.png) and examples/games/menu (Menu.plum, screens/MenuScreen, TurnScreen, actors/Turner), in this branch's style, the same rules and look: an orbit (`Orbit[Actor, Steps](hub: Body, reach, planet: Spinner, moons: List<Orbit>)`, no `step` of its own), a planet or moon (`Spinner`, its clock) and a walker (a `Body` with a `Wrap` edge) move by `Body`s stepped through the derive; presses say what they mean (`Presses<SkyAction>`: `Pick(body)` by id, `Front(walker)` then `Pick(-1)`), Space pauses by `@stepsWhen(!self.paused)` on the stepped fields (the pausing tick steps nothing, as on master), the minimap's spots worked out from the orbits when the hud is made (`Orbit.spots`); the menu's items are `Button`s, choosing a `GoTo(play)` or `Exit` command, its square turned by a `Body`; `[Show]` on the actions. Compiler fix: `[Show]` on an enum whose variant the loader renamed in a clash (both menu screens declare `Tick`, so one is `Tick@..`) wrote the renamed name into the text it parses and panicked; the arms now show the source name and the patterns get the renamed one (tests/modules/shown_variant.plum, beat.plum). Tests: tests/examples/games/clockwork (actors and screen: 22, a recorded 400-frame run replays, its checksum 294124446 pinned, a rewind to its middle), tests/examples/games/menu (10: sleeping, sliding, choosing, clicking, Play and Escape through the whole game, an idle recording, a rewind); compiler/cli replay check records all four games; web-test: Clockwork renders and animates, the menu sleeps until a key (`on_demand_and_travel`). Docs: game.md (Try it, Beside master), backlog (item gone), web-test README
fa56a8b — Peter John 2026-11-16T16:23:27+05:30
declarative paint (user: "try to optimize it later"): std/game/Blend, `struct Blend[View, Touch](x = 0.0, y = 0.0, mode: Int, touch = ChildrenOnly, children: List<View>)`, its children (a block) drawn in the host's blend mode and the host back to `Blend.Normal` after them (`Views.paintDone`, in `paint` and `paintCulled`; a `Blend` under another returns to Normal), the mode constants moved from Gfx.plum's `primitive Blend` onto it (`Blend.Add`, ..: fixtures using `Gfx.blendMode` import std/game/Blend), stepped by `Views.stepIn` as a `Group` is; std/game/Line, `struct Line[View, Sized, Touch](from: Vec2, to: Vec2, width = 1.0, color = Color.White, touch = Disabled)`, drawn through the walk's transform, scale and alpha (`Line.draw`), bounds the box around the segment widened by half the width, hit within half its width (`Line.near`, Balloon Pop's `nearLine` moved there); games: the orb's glow is `Blend(x, y, mode: Blend.Add) { Circle Circle }` before its sprite, the balloon's string a `Line` first in its view (`string()`, also its hit), so no game calls `Gfx` or writes `paintSelf`, which stays for std's own kinds and as the documented escape hatch (host-API fixtures and screen_views/scale's hand variant keep it). Draw calls of both games over a 600-tick replay identical before and after (Recorder, same recording); checksum 166413027 kept. Cost, not optimised yet: Orbit Runner, native, medians of 5: update 14.05 to 14.10 ms, paint 139.5 to 146.7 ms (+5.2%: a Blend and two Circles made per orb per frame, the Blend type test after each item). Tests: tests/std/game/Blend.plum, Line.plum, host_test's aBlendWrapsItsChildrenAndALineIsDrawnThroughItsPlace (plain and culled walks); docs: game.md (views, the kinds table, the escape hatch), std.md
3c69edb — Peter John 2026-11-16T15:59:13+05:30
body perf: a variant struct holds value fields of at most 4 leaves in line (`Vec2`, `Color`, `Aabb`: `Body`'s `pos`/`vel`/`push`, a sprite's tint, `Bounce(box)`), every value field of a variant or none (`INLINE_MAX_LEAVES`; `Place`, 8, stays boxed, as a spread that keeps it copies one reference), not in generic types, variants with a `mut` field or enums with shared fields; per-field `get.`/`set.` helpers read and write the leaves (construction, `.field`, spreads, in-place spreads, cell reuse, patterns through the leaf map, `@copy`); `optimize::inlineLeaves` spills the nullable reference parameters of an accessor (only parameter and field reads and writes), so `unbox.*` and those helpers are copied into callers; `if c then a else b` of plain numbers is a `select`, so `Float.max`/`min` are copied in; `Body.step` builds its `Landing` in one match and the body once (`landed` gone). Cause: `Body` is boxed and held its three `Vec2`s as boxes, so a step allocated four structs where `Motion` (flat) took two, and every `pos.x` called `unbox.Vec2`. Orbit Runner, native, medians of 9 (head and before-bodies measured in the same run; the machine was loaded, before-bodies at 14.77 against the 13.85 of the last commit): update 16.83 to 15.24 ms (before bodies 14.77: +3.2%, was +13.9%; that run also has 182 more game-over ticks, which step nothing), paint 151.3 to 144.7 ms (before bodies 150.3: -3.7%); checksum 166413027 kept; scale, medians of 5 (11 for update): update view 29.2 to 28.4, paint view 389 to 380, hand 266 to 264, spread 388 to 385 ms, checksum 502378645 kept; in-place spreads unchanged (game_in_place_test); fusion_alloc_test's value-field `--no-fbip` copy now makes one struct, the place in line; tests: e2e_records/inline_value_fields.rs, optimize_test (unbox copied in, select); docs/performance.md
84a0463 — Peter John 2026-11-16T15:06:55+05:30
declarative bodies (user: "Yes please do it"): std/game/Body, `struct Body(pos: Vec2, vel = Vec2.Zero, push = Vec2.Zero, drag = 0.0, edge: Walls = Free, angle = 0.0, turn = 0.0, faceAbove: Option<Float> = None)` with `step(dt)` written once (push, drag, move, edges, then faces its motion above `faceAbove` or turns at `turn`) and `place(origin)`; `enum Walls = Free | Halt(box) | Bounce(box) | Wrap(box)` (`Edge` and `Stop` taken; std's `Aabb` is the rect); the `[Steps]` derive steps any field whose type has `step(self, dt: Float) -> Self` (a `List`/`Option` of them by `map`), still a static construction, and joins the fields' steps to an actor's own `step` when that is one spread of `self` (no `step$own`/`step$fields` then); games: the ship's `step` is its clock, `steer(dir: Vec2)` sets `push`, `hurtUntil` with `hurt()` = `clock < hurtUntil`; orbs and mines hold a bouncing `Body` (`Arena.drift`, `Motion` gone), a mine `turn: 2.0`; `Ring(pos: Vec2)`; Balloon Pop's balloon a rising `Body`; clicks' `Ball[Actor, Steps](body: Body)`; checksum 181767343 to 166413027, scripted replay tests on seed 44; orbit update 13.85 to 15.34 ms, paint 143.9 to 149.4 ms (medians of 5); in place all kept (`Motion.spawn`, `Place.rotateTo$unique` gone, `Mine.spawn`, `Body.place` new); tests/std/game/Body.plum, derive diagnostics; docs: game.md, std.md, the review plan
32795d4 — Peter John 2026-11-16T14:42:42+05:30
docs/plans: declarative bodies
3c77b5b — Peter John 2026-11-16T14:36:44+05:30
docs/backlog: the modular checker and its cache, decided, not built
2b39248 — Peter John 2026-11-16T14:26:52+05:30
Merge branch 'sl/rules' into simpler-language
47db75b — Peter John 2026-11-16T14:26:45+05:30
docs/plans: rules without Meets
8f82f28 — Peter John 2026-11-16T14:22:57+05:30
docs/plans: the modular checker's design and stages
18986ce — Peter John 2026-11-16T14:19:58+05:30
Merge branch 'simpler-language' into sl/rules
3377b98 — Peter John 2026-11-16T14:19:58+05:30
rules as the screen's checks over round actors, and counter-based randomness (user: "Yes", then "drop the Meets trait": the checks stay in the screen's rules): Orbit Runner's `PlayingScreen.rules(self) -> List<PlayAction>` is `[..self.orbs.filter(|o| self.ship.touches(o)).map(|o| Caught(orb: o.id)), if self.ship.hurt <= 0.0 && self.mines.any(|m| self.ship.touches(m)) then Hit]`, the frame `Next(state: moved, then: if moved.over then Nil else moved.rules())`, and `update`'s `Caught(orb)` scores `Orb.Points` and respawns that orb (two orbs caught in a tick are two `Caught`s, two pickups, the same total; mines on the ship are one `Hit`); `Scored`, the `Caught` fold accumulator, the reversed list and the hand-made `Vec2`s are gone; orbs have a stable `id` (0..2, their animation phase `id * 0.1`, so `phase` is gone); std: `Random.at(seed, tick, salt)` (std/math/Random), a key made with SplitMix64's finaliser (`Random.mix`), and its draws `intAt(i)`, `floatAt(i)`, `intBelowAt(i, n)`, SplitMix64's stream from the key, each a pure function of the key and `i`, so nothing threads a generator (`Rolled` stays for `nextInt` and its users in std); `trait Round[View]` (std/game/Round): `radius()`, and `touches(other: Round)`, whether the circles about the two pivots overlap; `Place.pivot()`, where the origin lands in the parent, whatever the rotation and scale; games: Orbit Runner's screen keeps `seed` and `ticks` (counted in the frame, never reset, so a restart deals a fresh field) where it kept `rng`, `dice(salt)` is `Random.at(seed, ticks, salt)` (orbs by id, mines `OrbCount + count`), `deal` a `Range.until(0, OrbCount).map(..)`, `Orb.spawn(id, dice, near, tex)` and `Mine.spawn(dice, near, tex)` return the actor (`Rolled` gone from the game), `Motion.spawn(dice, near: Vec2, gap, speed)` draws by index (`Spawned` gone), the ship, orbs and mines are `Round`, the hit's ring at `ship.at.pivot()`; `PlayingScreen.start`/`at` take the seed; Balloon Pop's screen keeps `seed` and `ticks`, its frame respawns with a `map` (`Balloon.spawn(id, dice, depth, clock)` returns the balloon; `Spawned` and the fold gone); checksum: Orbit Runner 818414470 to 181767343 (every spawn draws elsewhere); benchmarks/screen_views (minimums of 5, two alternating rounds, before and after): orbit update 11.97/11.99 and 12.29/11.76 ms, paint 130.3/129.9 and 131.0/130.5 ms (noise); in place (`--explain-fusion`): `PlayingScreen.update` 5, `at`, `deal` (the key's parts read into locals, not `self` in the closure), `grown`, `stepped` kept, `PlayingScreen.rules` 1 gone (it returns actions: no spread of the screen left), `Motion.spawn` 1 new, Balloon Pop's `PlaygroundScreen.update` 1 kept; tests: tests/std/math/Random.plum (SplitMix64 reference values, the same key the same draws, uniform along the tick, the salt, the seed and the index, the avalanche of neighbouring ticks, `intBelowAt`), tests/std/game/Round.plum, `Place.pivot`, Orbit Runner's `Caught` (two orbs in a tick, two mines one `Hit`, the rules' edges, an orb's spawn a pure draw), the recorded 600-tick run on seed 43 (42 no longer loses a life in it), Balloon Pop's hue names, game_in_place_test (`rules` out, `Motion.spawn` in); docs: game.md (the screen's fields and frame, randomness by counter, the rules, `Round` and `Place.pivot`, the checksum), std.md (`Random.at`, `Round`), TestRig's sample, the review plan
d14546f — Peter John 2026-11-16T14:15:34+05:30
Merge branch 'sl/module-cache' into simpler-language
c086b70 — Peter John 2026-11-16T14:15:19+05:30
the parse cache (user: Roc-style per-file caching of the front end): each file a program imports is parsed once and reused, in memory by every program of one run and on disk across runs (`plum_core::parse_cache`, hooked into the loader's `parseCached`); profile first (debug, `PLUM_TIMINGS`, new loader phases parse/collect/shadow std types/resolve modules/merge/front end): a `plum check` file is load ~90 ms (parse 30-40 ms of it) and a whole-program check ~130 ms, a `plum test` file adds 5 re-checks of ~48 ms and the passes, so the front end is ~15% of it; only the parse is truly per file: the loader merges every file into one program before anything else, `resolveModules` renames fns several files define, `shadowStdTypes` rewrites and re-parses std's text by what the importer declares, generic bodies are checked per instantiation from call sites anywhere (the importer's types), trait-object calls reach the importer's implementers, and type info is keyed by node ids numbered over the merged program, so resolution, checking and everything after stay per program (the backlog says what a modular checker needs); an entry is the exact text, its `Source` and the compiler that wrote it (the executable's path, size and mtime, the package version): a hit needs both the very same, hashes only name files, so a collision, another compiler's entry, an edited file or a partial/corrupt entry (bad magic, truncated, undecodable) is a miss; only successful parses are cached; a hit is renumbered (`ast::renumberIds`, the walk `numberIds` does, so the same numbering a fresh parse gets) and stamped with the current display path; memory keeps one entry per canonical path (the LSP's edited buffers replace theirs), disk one per text in `plum-cache/<exe>-<compiler hash>/` beside the executable (`target/debug/plum-cache/`) or `PLUM_CACHE_DIR`, the folders of the executable's earlier builds removed when a new one is made, writes to a temporary file renamed into place; the AST derives serde (postcard); `--no-cache` (a global flag, any command; a sweep passes it to its children) and `PLUM_NO_CACHE` turn both off; the language server keeps memory only; `plum check` checks its files side by side (`loader::threads()` workers with 256 MB stacks, each parsing on its own thread, `loader::parseOnThisThread`), errors printed in file order as before; timings (debug, a loaded machine, against 56bbbeb8): `plum check std tests` 33.1 s before, 4.5 s cold, 4.2 s warm (7.8 s `--no-cache`, so ~3.3 s of it is the cache and the rest the workers), `plum test std examples tests` 25.2 s / 241 s CPU before, 21.6 s / 200 s CPU cold and warm (a sweep's children share the disk entries at once), one `plum test tests/std/collections/Map.plum` 1.47 s before, 1.45 s warm, `plum check` of it 0.16 s and 0.13 s, compiling Orbit Runner 1.22 s and 1.17 s; test-all 146 s; tests: core parse_cache_test (every std file reads back as its parse, an entry only for its own compiler and text, a hash collision a miss, cut and garbage entries misses, writers side by side leave whole entries and no temporaries, older builds pruned, a load sees edited direct and transitive imports and a syntax error, no duplicate ids), cli parse_cache_test (four programs and two test modules the same bytes with `--no-cache`, a cold and a warm cache; `plum run` sees each edit of a direct and a transitive import, a syntax error, a corrupt cache; four `plum check` runs side by side on one cold cache); docs: tools.md (`--no-cache`, the parse cache, `PLUM_NO_CACHE`, `PLUM_CACHE_DIR`), backlog (only the parse is cached per file, and why)
88f1e29 — Peter John 2026-11-16T14:07:47+05:30
docs/plans: rules as objects that decide their own collisions
56bbbeb — Peter John 2026-11-16T13:53:18+05:30
Elm-style screens (user: "the elm style looks good", "Yes" to the geometry and spawning): a slice screen has one entry point, `update(self, a: A) -> Next<Self, A>` (default `Next(state: self)`, so a screen with no actions compiles), and `subscriptions(self) -> List<Sub<A>>` (default empty) in place of `reduce`, `act`, `onKey`, `onPointer`, `held` and `tick`; `enum Sub<A>` (std/game/ScreenSlice) is `OnFrame(fn(Float) -> A)`, `OnKeyDown(key, act)`, `OnKeyUp(key, act)`, `OnHeld(fn(Held) -> A)`, `OnWheel(fn(Float, Vec2) -> A)` and `OnPointerDown`/`OnPointerUp`/`OnPointerMove(fn(Vec2) -> A)`, a list literal with `if` items (`if !self.over then OnHeld(..)`), read once a tick from the screen as the tick found it; each tick delivers the events (presses through `onPress` first, then the subscriptions answering, several in the order listed), then `OnHeld`, then `OnFrame` last; `wants` is "subscribes to `OnHeld`"; `Input.isKeyUpOf`; no stepping phase: the frame is an action and a screen steps its actors in it with its derived `stepped(dt)` (`Tick(dt) => self.stepped(dt)..rules()`), `Screen.steps()` is gone, a plain screen's tick is its `stepped`; every screen derives `stepped` without listing `Steps` (core/steps_derive.rs: `Steps` on a screen is an error, `Steps` stays opt-in for actors, `@stepsWhen` works on a screen or a `[Steps]` actor); the uniqueness analysis stamps a method call on a receiver of a bounded type parameter with the bound (in its own copy of the body) and resolves it among the bound's implementers (`s.update(a)` in `Delivery.actIn` had resolved to every `update`, `Game.update` and `Viewport.update` among them, and lost every update in place); geometry: `Vec2.near(other, dist)` (std/math/Vec2), replacing Orbit Runner's `overlaps`; Orb and Mine spawn themselves, `Orb.spawn(rng, near, phase, tex)` and `Mine.spawn(rng, near, tex)` returning `Rolled<..>` (positional: a fn call takes no named arguments), so `newOrb`/`newMine` are gone; Orbit Runner: `PlayAgain`, `reduce`, `act`, `followed`, `advance`, `onKey`, `held`, `tick` and `overlaps` gone, Enter and R subscribe straight to `StartOver` while the run is over, `deal` folds a `Rolled<List<Orb>>` and ends in `grown`, sounds read before the spread (`sounds := self.assets`), `rules` writes `rng` before `orbs`; PlayingScreen 19 functions to 12, 150 lines to 146; in place (`--explain-fusion`): Orbit Runner 29 spreads where there were 27 (`PlayingScreen.update` 5, `rules`, `deal`, `grown`, `at`, `stepped`), Balloon Pop 22 where there were 21 (`PlaygroundScreen.update` 1), the tick's std spreads kept; checksums: Orbit Runner 946756219 to 818414470 (subscriptions are read at the tick's start, so the tick Enter restarts on steers nothing; with `OnHeld` unconditional it is 946756219 again), scale 502378645 unchanged; benchmarks/screen_views (minimums of 5, before and after): orbit update 11.25 and 12.52 ms (11.1-11.6 and 12.0-12.3 in alternating reruns: the subscription closures called indirectly each tick and the list built each tick; not `Vec2.near`, not the `if` items, not the intermediate action lists, each measured), paint 128.7 and 130.9 ms, scale update view 22.2 and 22.5 ms, paint view 329.0 and 329.5 ms, spread 330.1 and 330.1 ms; ported: Balloon Pop, clicks (a `Tick` action steps the ball), two_screens, benchmarks/screen_views/scale.plum, the tests/std/game, tests/port/game and tests/examples mirrors, compiler/game fixtures and web-test fixtures, the inline games of host_test, game_entry_test and driver_tests (`Stress.update`), TestRig's docs (`dispatch` runs `update`; ticks reach the screen through its subscriptions); tests: tests/std/game/ScreenSlice.plum (the order in a tick, several subscriptions answering one event, an item there only while the state says so, the defaults, `OnHeld` waking an `OnDemand` screen), `Vec2.near`, `Orb.spawn` and `Mine.spawn`, checker diagnostics `stepsIsForAnActorStructHoldingActors` and `stepsWhenGoesOnAnActorFieldOfADerivedStepping`, game_in_place_test's new names; docs: game.md (the minimal game, Stepping, "The slice: update, subscriptions and view" replacing "The slice" and "Input and the tick as actions", undo, commands, testing, "Beside master"), std.md, language.md, backlog (the fold's copies, and a compiler bug met: a closure field bound by the same name in two match arms is "undefined function" in the second, worked around in `Sub.onEvent`), the review plan
a19ade2 — Peter John 2026-11-16T13:11:19+05:30
docs/plans: the Elm-style screens task (update, subscriptions, stepped as a helper, std geometry, actors spawn themselves) and the benchmark after it
2e20166 — Peter John 2026-11-16T13:10:41+05:30
the screen in place again in std's delivery fold (user: "Fix the lost in place"): the fold steps one copy of the screen a tick delivered, made by a new built-in, `@copy(x)` (a shallow copy of a struct, another object with the same field values; it takes a type parameter, where no spread can name the type), in `Delivery.deliverTo` and `dispatchTo`: the game keeps the screen it had (`Game.screens`, `Game.initial`), and the copy is the fold's alone, so every step of the tick is unique; compiler: `@copy` in compile_builtins and native, the checker accepts a struct or a type parameter (`identity::checkCopyArgs`, an instantiation checked too: `g(3)` is an error), codegen copies field by field with one `struct.new` (a flat struct is its value; anything else is a compile error, `intrinsics::compileCopyFnBody`); the uniqueness pass: `@copy(..)` is fresh and its argument only read, and every field of the copied type (for a type parameter, of each implementer of its first bound) is shared (`copiedFields`); read-only parameters through calls (`readOnlyParams`, a worklist over callers: a parameter only read, as a field read's object, a read-only receiver, a match that only reads it, or a bare argument of parameters every target only reads; the screen's `view` hands `self` to the fused copies of its closures, so `s.view()` and `s.hud(..)` in `eventInto` no longer keep the slice; a parameter of a `@native` or extern body is never read-only, as `Slice.push` keeps what it is given); a field of a fresh value is fresh while the field is unique (`self.advance(dt).state`: `analyse` builds and solves again with a field distrusted when the proof finds it shared), and such a read no longer makes the field shared; a value moved into a constructor beside values that only read it (`Next(state: self, then: [if self.over then StartOver])`); a local bound once and used once stands for its value in `passes` (`deal`'s `withOrbs`), so `reduce` passes its `self` back and `self.reduce(a).followed(a)` hands `followed` a unique screen; Orbit Runner: `PlayingScreen.reduce` 3 in place (steer, scored and hit, whose field values are now written in declaration order; `StartOver` copies, out of order with `best` reading `score`), `newMine`, `at` and the derived `stepped`, none needing a `$unique` version (the old `reduce$unique` 3 were steer, `PlayAgain`'s spread, which is gone, and scored); 27 spreads in place where there were 22; Balloon Pop as before (its `act` reads `self` after handing it to `reduce`); not restored: R3's `Mine.step`, `Mine.put` and `Orb.put$unique` (a step is one spread of the list's head, `List.head`, which std's read-only walks `all`, `filter` and `next` hand to closures and results; the same allocation a step as before); benchmarks/screen_views (minimums, before and after on b9032ece): orbit update 11.4 and 11.3 ms, paint 129.1 and 129.0 ms, checksum 946756219 unchanged, scale update view 22.1 and 22.0 ms, paint view 328.6 and 328.7 ms, spread 333.3 and 331.3 ms, checksum 502378645; compile time: the in-place pass about 2.5 times as long (debug, Orbit Runner 183 to 480 ms: 9 version rounds where there were 5, each about 30% dearer), in the backlog; the wasm is the same build after build; tests: core uniqueness_fold_test (a copy of a shared value, the copied type's fields shared through a known type and a bound, a receiver read through another fn, a field of a fresh value, a local used once, a native body), checker `copy_takes_structs` and `copy_rejects_what_is_no_struct`, tests/core/copy.plum (in the three sweep modes), game_in_place_test's Orbit Runner expectations, driver `gameStartingFromAConstantActorCopies` (the reduction is in place in the copy, never in `Stress.Start`), the built-in lists of the checker and the LSP; docs: language.md (the built-ins table, Copies), std.md, game.md (the fold's copy), backlog (what the fold still copies, the cost)
b9032ec — Peter John 2026-11-16T12:55:28+05:30
std/game review R3 (leftovers, games by hand, docs): `[Steps]` steps a `List<View>` field with `Views.stepIn` (each item's type tested as it is stepped, the one place the stepping looks at a type at run time), so benchmarks/screen_views/scale.plum's `CrowdScreen` lists `Steps` and loses its `stepped` (update view 22.6-23.3 ms after, 22.4-22.8 ms before, a loaded machine; checksum unchanged); `[Show]` derives `toStr`: `trait Show = fun toStr(self) -> Str` in std/Str, and an enum or struct that lists it and writes no `toStr` gets one written out before checking (core/show_derive.rs, after `deriveSteps`): the variant's name and its fields' values in order (`Steer(1.0, -1.0)`, `Hit`, a struct `Spot(1, 2)`, one with no fields its name), an own `toStr` kept, an error at the type when a field's type is a struct or enum of the program with no `toStr` that doesn't list `Show`; the games' action enums list it and lose their hand-written `toStr`; leftovers: `Frames.onDemand` removed, `Game.onDemand` kept as the one copy (a match on `frames()`, the fusion re-check failure in the backlog), the `SizedTile` fixture moved from std/game/Sized to its test, `Replay.ticks` a `List<Input>` (`Replay.at` gone, `ticksText` a join, `decodeTicks` a reversed accumulator, `onScreen` a map), the `Ticker`'s `played` a `List` whose head is dropped each tick (no `cursor`), `dueInputs` a `List`, and the kit's recording a value (it pushed into the `Slice` its copies shared; `log` holds the ticks newest first, `recorded()` reverses them); `Views.stepIn` stays (a `Group`'s and an `Overlay`'s children, and now the derive); games: `primitive Arena` and `primitive Sheet`, `Blinks` and `holdStill` moved to the tests, `Hue.All` a const list (`Hue.of`'s if-chain and `count` gone), `Balloon` built by name with field defaults (`Balloon.at` gone), `Orb` and `Mine` hold their `Motion` as `at` with the place derived in `place()` (`create`, `motion()`, `put`, `vx`/`vy` gone; a mine's rotation is an accumulated `spin`, the same float ops), so the games are 71 lines removed, 28 added; Orbit Runner's checksum is unchanged, 946756219 (orbit update 11.96 ms over 14,400 ticks); not done: a std `Body` (the bounce is the game's rule and `Motion` is that body), the `PlayAgain` indirection kept; game_in_place_test: `Mine.step`, `Mine.put` and `Orb.put$unique` no longer expected (a step is one spread of the shared `self`, where it was that copy and one or two in-place writes to it); tests: tests/traits/show.plum, checker diagnostic `showNeedsEachFieldShown`, tests/std/game/View.plum's `Stage` with a `List<View>` field (a group's actor inside), tests/port/game/replay.plum on lists; docs: game.md (Stepping, the `Mine` sample, the walks, record and replay, the slice, "Beside master": two rows added, the duplicate `timeTravel` row and the removed input readers in "The same on both" gone), language.md (`[Show]`, the built-ins table), std.md (`Show`, the stale `@sameRef` press, the replay), backlog, the review plan, View.plum's doc comments
ef49d09 — Peter John 2026-11-16T12:29:52+05:30
Merge branch 'sl/steps' into simpler-language
addf12c — Peter John 2026-11-16T12:29:39+05:30
derived stepping (std/game review R2b): a struct that lists `Steps` (`trait Steps`, a marker in std/game/View) has its fields holding actors stepped by code the compiler writes out before checking (core/steps_derive.rs, `deriveSteps`, first in the front end), the same static construction a hand-written one is, not a walk at run time: a field that is an `Actor` (a type implementing it, or a trait type that is one) is `self.f.step(dt)`, a `List` of actors `Views.stepAll(self.f, dt)`, an `Option` of one `Views.stepSome(self.f, dt)` (new in std), the other fields as they are; on a `Screen` it is `stepped(self, dt)`, and a screen that writes its own `stepped` keeps it (no error); on an `Actor` the fields are stepped after its own `step`, which is renamed `step$own`, the derived `step` being `self.step$own(dt).step$fields(dt)` (or the fields' stepping alone when it writes none), so a container writes only what is special about it and the fields' conditions read the actor after its own step; a field attribute, `@stepsWhen(cond) name: T` (grammar: an optional `field_attribute`, `@name(expr)`, before a struct field; `EnumVariant.field_steps_when`), steps that field only while `cond`, read on `self`, holds (`if cond then <stepped> else self.f`), which pauses one field where `steps()` pauses a whole screen (still there for hand-written ones); errors, each at the type or the condition: `Steps` on an enum, on a struct that is neither a `Screen` nor an `Actor`, or on one with no field holding actors; `@stepsWhen` on a field holding no actors, on a type that doesn't list `Steps`, or on a screen that writes its own `stepped` (it would do nothing); any other attribute name is a parse error; a `List<View>` field is not stepped (views, not actors: `Views.stepIn` by hand); games: Orbit Runner's screen is `[ScreenSlice<PlayAction>, Steps]` with `@stepsWhen(!self.over)` on `ship`, `orbs` and `mines`, so its `steps()`, its `stepped` and the rings stepped by hand in `advance` once the run is over are gone (the rings step on under the panel with no condition); Balloon Pop's playground and clicks' tap screen list `Steps` and lose `stepped`; the games are 15 lines removed, 5 added; Orbit Runner's checksum is unchanged, 946756219; benchmarks/screen_views (scale's `SpreadScreen` now derived, `CrowdScreen` keeps `Views.stepIn`): orbit update 12.9-13.3 ms before, 12.8-12.9 ms after, paint 132.9-133.2 ms before, 132.5-134.1 ms after, scale update spread (10,000 actors) 19.0-19.9 ms before, 19.2 ms after, update view 22.4-22.8 ms before, 22.4-22.6 ms after; formatter: a space after the attribute; highlights; tests: tests/std/game/View.plum (a screen's actor, list, option, trait-typed and plain fields, `@stepsWhen`, a hand-written `stepped` winning, an actor's fields after its own step, an actor with no `step` of its own holding a nested `[Steps]` actor), tests/port/game/screens.plum's `StillScreen` derived through the game, checker diagnostics for each error, a formatter test, a corpus case; docs: game.md (Stepping, the sample, the traits table, the "Beside master" row), language.md (field attributes and derived methods, the built-ins table), std.md, backlog, Screen and View doc comments, the review plan
bff4a1d — Peter John 2026-11-16T12:23:13+05:30
one replay form, no version (user: no backwards compatibility): the first line is `plum-replay <seed high> <seed low> <width> <height>`, with no version number, and a tick line is what is held and the tick's events, the wheel among them; the version only told the old form from this one, so it went with the old form; removed: reading a `plum-replay 1` (its wheel column after the pointer, read as a `Wheel` event) in std/game/Replay (`Replay.Version`, the `v1` flag of `decodeTicks`/`parseLine`), the native host's `replay_header` and `recording`, the bridge's `replayHeader` and its recorder; an old file is refused as not a replay; tests: the version 1 tests of tests/port/game/replay.plum gone (round trip, bad lines) and the bad lines of the one form kept, a header with a version refused, tests/std/game/Input.plum's replay window, host_test's bad replays, the CLI's kept recording and folder run on the new header, web-test's recording check; docs: game.md (record and replay, the "Beside master" row); backlog: why std's delivery fold has no unique version, and what would give it one (the screen enters the fold shared, held by `Game.screens` and `Game.initial`, and the fresh screen the rules build reaches the next `reduce` only as the `state` of `act`'s `Next`, which other arms give as the shared screen itself: no static proof, only a check at run time in `actIn` or one copy of the screen as it enters the fold)
b216341 — Peter John 2026-11-16T11:55:54+05:30
docs/plans: the std/game review's chosen items (R1, R2, R2b derived stepped; waiting: Key enum, time model, Setup, typed navigation)
254f0c7 — Peter John 2026-11-16T11:54:55+05:30
views declare presses, input is events and their fold (std/game review item 3 and the input addendum): `trait Presses<A>` with `pressed(self) -> A` and a ready-made `Button<A>(x = 0.0, y = 0.0, w, h, on: A, children: List<View> = Nil)` (std/game/Button: a box that takes presses, `Enabled`, hit inside its bounds, drawn by its children, its block), and a slice's default `onPress` is `match target / Presses<A> as p => Some(p.pressed())`, so a screen whose pressable items say what they mean writes no `onPress`; the generic trait match works at runtime as it is (an item that is a `Presses<Int>` gives None on a screen of `Pick`s; tests/traits/generic_trait_match.plum); Balloon Pop's balloons are `Presses<PopAction>` (`Pop(id: self.id)` in place of `Pop(balloon: b)`, the screen's `onPress` gone), clicks has a `Button(.., on: Tapped) { Box(..) }` in its view in place of a `box` field compared by `@sameRef`, the web-test stress fixture's 20 buttons are `Button`s with `Clicked(i: i)` (its `buttons` field and `@sameRef` search gone, the labels still drawn after the boxes); input: the events are the one source and what is held is their fold: `Input(events: List<InputEvent> = Nil, held: Held = Held(), screen)`, `Held(mouse, keys: List<Int>, buttons: List<Int>, pointer: Vec2)` with `isKeyDown`, `axis`, `isButtonDown`, `same` (the pointer aside), `after(e)` (each pointer event moves `pointer`) and `afterAll(events)`, `InputEvent` gains `Wheel(dy)`, delivered to `onPointer` at the pointer (dropped during a transition like the pointer events), a slice's `held(self, h: Held)` and `wants(h: Held)`; the host poll is still the one imperative boundary: `InputEvent.poll(io, prev, skip) -> List<InputEvent>` built as a list literal (`pointerPolled`, `buttonPolled`, `keysPolled`, a `Wheel` if the wheel turned) and `Input.poll` folds it into what is held, with no `out: Slice` parameters; removed: `Input.create` (`Input()`), `Input.isKeyDown`/`axis`/`isKeyPressed`/`isMouseDown`/`isMousePressed`/`isMouseReleased`, `pos`, `wheel`, `Held.isDown` (`isKeyDown`), `Held.withOrWithout`, `Polled`; `Slice` is `List` in `Held` and `Input` (`keyCodes()` a `List`); replays: the tick line keeps what is held (keys, buttons, pointer) beside the events, so a replay does not depend on the fold, and the wheel is an event (`W<dy>`): `plum-replay 2`, whose tick line has no wheel column; a `plum-replay 1` file is still read (its wheel column a `Wheel` after the tick's events, written back as a 2), the native host and the bridge write 2 and read 1 or 2, the old test strings stay as tests of version 1 and new ones cover 2; `Game.obeyAll` does a tick's commands by recursion instead of a fold with a closure (with the new folds in std, `List.fold`'s eight specialised copies ran out in Balloon Pop and `Game.obey`'s two in-place spreads were lost); compiler: a trait default's copy is told from a method the type wrote in the passes' re-check too: `defaultPositions` also reads each trait declaration's methods with a default, which `dropTraitBodies` leaves (the dead code pass dropped std's `Button` from Orbit Runner and the re-check then called the copied `Presses<PlayAction> as p` impossible, dropping the pass); not done: a unique version of std's generic delivery fold (Orbit Runner's `reduce$unique`/`newMine$unique`): `Delivery.actIn`'s slice is never a mixed parameter, as its only unique caller is `actAll` with the `state` of the `Next` that `s.act(a)` returned, and a version would also need `act$unique` for every implementer through a generic receiver; large, in the backlog with a pre-existing re-check failure of a program with no `Sized` or `Touch` view; tests: tests/std/game/Button.plum (a button's box and children, the default `onPress` through a group, an actor of its own, a box that says nothing and a button of another action type), tests/std/game/ScreenSlice.plum (a wheel turn at the pointer, `held` with the pointer), tests/std/game/Input.plum (the fold, the pointer, the wheel, `same`), tests/port/game/replay.plum (version 2 round trip with wheel events, version 1 read and written as 2, bad lines of both), the probes of replay and determinism map presses with `onKey`/`onPointer`, tests/port/game/screens.plum's hud is a `Button` (the default `onPress`), the host fixture counts a tick's events through `onKey`/`onPointer`, driver test `aDefaultMatchingATraitNoTypeIsKeepsEveryPass` (fails without the fix); the games are 22 lines added, 17 removed; Orbit Runner's checksum 946756219, unchanged; benchmarks/screen_views (minimums, a loaded machine): orbit update 14.1 ms before, 14.2 after, paint 135-136 ms both, scale update view 25.8 and 25.0 ms, paint view 398 and 399 ms, spread 17.1 and 17.0 ms; docs: game.md (the minimal game with a `Button`, presses, the input table, `held(h)`, the wheel, replay version 2, two "Beside master" rows), std.md, backlog, the review plan
cfbc7a6 — Peter John 2026-11-16T11:20:12+05:30
reducers return their follow-ups, commands as data (std/game review items 1 and 2): a slice's `act(self, a: A) -> Next<Self, A>` (`struct Next<S, A>(state: S, then: List<A> = Nil, cmds: List<Cmd> = Nil)`, std/game/ScreenSlice) is `Next(state: self.reduce(a))` by default and `reduce` is the screen as it is by default, so a screen writes the one it needs; named `act`, not `step`, which an `Actor` has (the uniqueness pass resolves methods by name); each action delivered is acted on and then each action of its `then`, in order, each with its own `then` first; the delivery is a pure fold (`Delivery.deliverTo` over `eventsInto`, `eventInto`, `heldInto`, `tickInto`, `actIn`, `actAll`, `done`; the slice passed as a parameter and the actions and commands in a `Trail<A>`, a `Folded<S, A>` taken apart by pattern each time) returning `Delivered(screen, cmds, sent, acted)`, with no `Slice` accumulators; `TestRig.dispatch` runs the same fold (`Delivery.dispatchTo<A, S>` on the rig's own screen type: `Next<Self, A>` can't be called on a trait object); `enum Cmd = GoTo(name) | Exit | Undo | Redo | RewindTo(tick) | Play(sound, volume) | Loop(sound, volume) | Stop(sound)` (std/game/Cmd, with `toStr`, `travels`, `sound(io)`, `Cmd.names`), done by the game after the tick in order (`Game.obey(io, c)`; the history moves once the tick is recorded); a tick played again by a rewind gives the same commands and the game does only its `GoTo`s (`Game.redone`), so no sound plays twice by construction, and `HistoryTick` no longer records asks; no escape hatch, as nothing needed one; removed: std/game/Control.plum (`Control`, `Ask`), std/game/Effects.plum (`Effects.Running`, the global slot, `startDispatch`, `queueAction`, `sent`, `Effect`, `Queued`, `Sink`, `ActionSink`), `ScreenSlice.effect` and `dispatch`, `Game.apply`/`redoAsks`, `Game.ran`/`asked` (now `sent`/`cmds`); the kit reads `t.actions<A>()` (`Dispatches.of`, a `Sent<A>` per action) and `t.cmds` as values; checker: a generic struct with no `mut` field is covariant in each generic its fields hold only as themselves or in a `List` or an `Option` (`upcasts::covariantStructs`, rebuilt field by field by a helper as `List`/`Option` are), which a `$dyn` copy of `act` needs (`Next<PlayingScreen, A>` where `Next<ScreenSlice<A>, A>` is expected); games: Orbit Runner's rules return what happened (`then: [if caught.points > 0 then Scored(points: caught.points), if hit then Hit]`), `PlayAgain` is followed by `StartOver` at once (`again` gone), `act` is `self.reduce(a).followed(a)` with the sounds as commands, `startMusic` gone, mines grow with the score in `Scored`; Balloon Pop loses `popsHeard`, `partiesHeard`, `newPop`, `newParty`, `hearPop`, `hearParty` and `hear()`: `Pop` is followed by `Popped`, which plays the pop and every tenth the fanfare, `TakeBack` gives `Undo`; clicks and two_screens use `act` with `Exit`/`GoTo`; the games are 72 lines removed, 54 added; Orbit Runner's checksum is 946756219 (was master's 925878360: the mines are checked before more are added for the tick's points, a restart starts at once), stable run after run; benchmarks/screen_views: orbit update 14.0-14.4 ms before, 12.6-12.8 ms after, paint 130.8-131.6 ms before, 129.5-130.2 ms after, scale update view about 22 ms and paint about 330 ms, spread 15.5 ms, both unchanged; game_in_place_test: Orbit Runner's `reduce$unique` (3) and `newMine$unique` (1) are gone (they were reductions dispatched from inside its own `reduce`; std's generic fold gets no unique version), `Delivery.actIn` is in place in both games; tests: tests/std/game/Cmd.plum (replaces Control), tests/port/game/screens.plum (an `act`'s `then` order, commands read back, the kit's undo through `TakeBack`), the games' tests assert commands (`Cmd.names(t.cmds) == "stop(-1) play(-1, 1.0)"`), tests/traits/covariance.plum and a checker test for covariant structs, host_test's seed replay takes no seed in a tick, camera_fixture and game_entry_test on `act`; docs: game.md (the slice table, what follows from an action, commands for sound and navigation, rewinds and commands, undo, the kit, the "Beside master" rows for Effects/Control/dispatch, the checksum), language.md (covariant structs), std.md, backlog, the review plan
a643bd8 — Peter John 2026-11-14T16:33:29+05:30
remove stuff
73e7dd0 — Peter John 2026-11-13T22:40:48+05:30
game framework ports from master (T5): an actor steps what it holds as far as a value can (`Views.stepIn` steps an `Actor` without looking inside it or making its view, and makes a `Group` or an `Overlay` again with its actors stepped; any other view is as it is: making a view again is only possible for a kind std knows, so master's `View.holdsActors()` is std's two containers here and its kit check `unsteppedIn` has nothing to find, as nothing is stepped behind the screen's back; game.md says why); frames on demand in the hosts: the frame entry point ends with `Game.hostFrame`, which tells the host an idle frame (`Game.frameIdle`, master's extern) and otherwise counts the frame the host is about to draw (`frameDrawn`), so a live `OnDemand` screen goes idle; the browser skips an idle frame's draw, keeps the canvas and asks for no frame until a key, press, move, wheel, resize or blur (a replay keeps its frames), the native host has `PlumGame::idle()` and `plum-game` skips the draw; development runs: `plum run --dev` (the page gets `plumTimeTravel` before the bridge, `ReplayMode.Dev` = 3, refused by `plum build`, `--replay` and a non-game), the game keeps its history from the first frame and takes master's time travel keys (`[`, `]`, `\`, Ctrl/Cmd+Z, Ctrl/Cmd+Y or Shift+Z; std/game/History's `TravelKeys` and `TravelCmd`, as values: `frame(now) -> TravelFrame`), kept from the game's poll (`Input.poll(io, skip)`), done by `Game.devFrame`/`travelCommand`, with `devLine` drawn along the bottom; a rewind keeps `dev` and `paused`; no `remakeGame`: `timeTravel` remakes the game from the screens it was made with; the bridge's Cmd keyup fix, short taps kept for a frame and undo/redo chords kept from the browser, from master; `PlumGame::dev()`; the window's size on each tick's input: `Input.screen` (a field default, 0 by 0) and `Input.sized(w, h)`, set by the poll from `Gfx`, kept through the ticker's frame, a decoded replay's ticks on its header's window (`Replay.onScreen`), and `Game.update` is `step` with `input.screen` (0 by 0 leaves the window); `Clock` is `Ticker` (`Ticker.Tick`, `Ticker()` with field defaults in place of `Clock.create()`), moved to std/game/Game.plum beside `GameRun(game, ticker)`, the host's state, now std's with `start`, `frame` and `draw`, so the compiler's game entry (core/game_entry.rs) is three one-line functions calling it (its own `gameTicks`/`gameTick` gone; the in-place test names `GameRun.ticks` and `GameRun.shown`); a `Label`'s width from Arial's advance widths (`Label.Advances`, four digits a character from space to `~`, a digit's width past ASCII, none for control and continuation bytes) in place of 0.6 of the size a letter, and the bridge lays text out by the same table (`ADVANCES`, a host test checks they match) and draws its atlas in Arial, Helvetica or Liberation Sans first; master still estimates, and a host call measuring text would make a tick that hits a label read the host; `plum compile <folder>` compiles the folder's file with `main`, as `run` and `build` do; tests: std (tests/std/game/Game.plum: the window from the input, the ticker keeping it, a development run's history and commands, a frame counted as drawn; History: the travel keys' commands and what they keep from the game; Input: `sized`, a replay's window; View: stepping inside groups and overlays, not inside an actor or a kind of your own; Label: real widths), host tests (an `OnDemand` screen's idle frames, waking on a key and a resize with the new window on the input, an `Always` screen never idle, a development run's keys, line, pause, step, undo and resume, none of it outside `--dev`, the bridge's table), CLI tests (`compile <folder>`, `--dev` refused with `--replay` and for a program), the page test for `plumTimeTravel`, web-test `an_idle_page_sleeps_and_a_dev_run_travels` on two_screens (the page's `__plumDrawLog` probe, from master); docs: game.md (stepping, the label width, the ticker, the window on the input, the development keys, frames on demand in the hosts, the "Beside master" rows and "Not ported"), tools.md (`--dev`, `compile` of a folder), backlog (the five items done), the web-test README
257d46e — Peter John 2026-11-13T22:13:34+05:30
views as blocks, place defaults, one-pass upcast spreads, a bad default reported once: each view is one literal, one item a line with no commas, and a parent's children are its block: orbitrunner's play (`if self.over then Overlay(w: Arena.W, h: Arena.H) {` + the two labels + `}`) and ship, balloonpop's playground, hud and party, a balloon's view (its burst is `..Range.until(0, 8).map(|i| spark(i, reach, ..))`, the recursive `burst` gone), a cloud is a `Group(x: x, y: y) {` + three circles about its origin + `}` (it was three circles at absolute places, spread), the web-test stress fixture (`Scaled(scale: 0.8) {` + five spreads + `}`, each `Spinner(..) { ..dancers }`), the turn fixture, tests/port/game/screens (the `base.append([Overlay(..)])` is an `if` item), std/game's Overlay and View tests, the Overlay and Group doc comments; `Box`, `Circle`, `Label` and `Sprite` default `x: 0.0, y: 0.0`, as `Group` and `Overlay` already did, since an actor's own view draws at its place (`Sprite(tex: self.tex, ..)`), and every `x: 0.0`/`y: 0.0` of the six kinds is left out (std, games, tests, fixtures, scale benchmark, docs; tests that each kind is at the origin unless placed); a spread of a list that is upcast (`..self.mines`, a `List<Mine>` in a `List<View>` literal) is one pass: `lowerUpcasts` (checker/upcasts.rs) makes `xs.spreadOnto(rest)` with an upcast receiver a call of a helper made once per pair, `__upcastOnto0(xs, rest)` (`Nil => rest`, `Cons(h, t) => Cons(head: h, tail: __upcastOnto0(t, rest))`, a TRMC loop), not an upcast and then a copy; `list_items::SPREAD_ONTO` names the method for both; measured on benchmarks/screen_views/spread.plum (new: a 10,000-item `List<Dot>` spread into a `List<Shape>`, 200 passes): 16.6 ms before (fusion had merged the two there) and 16.8 ms after, 25.2 ms and 16.9 ms with `--no-fusion`; Orbit Runner's `paint` (orbit.plum, where fusion merged only some): 137 ms before, 132.5 ms after, checksum 925878360 unchanged; scale.plum has a `spread` mode (the 10,000 actors held as a `List<ViewDot>`, drawn through `[..self.dots, Box(..)]`; 353 ms like `view`, the draw dominates); a field default of the wrong type is reported once, at the default: `checkFieldDefaults` records each one that fails (`bad_defaults`, by constructor and field, with its span) and a construction's copy of it (the same span) is not checked again, while a wrong value given by name still is; docs: game.md (the view sample with a block, children as a block, Balloon Pop's cloud groups, the kinds table's place defaults, a kind of your own puts `children` last, the "Beside master" row), language.md (a spread of an upcast list is one pass); tests: diagnostics for the default reported once
47f787c — Peter John 2026-11-13T22:03:17+05:30
children blocks: a call or a construction takes its last argument as a trailing block, `Overlay(w: Arena.W, h: Arena.H) {` + one item a line + `}`, whose items are a list literal's (a value, `..xs`, `if c then x`, `if c then ..xs`), separated by line breaks or commas; on a function or method call the block is the last argument, after the others (`Demo.sum(1) { 2, 3 }` is `Demo.sum(1, [2, 3])`), and on a construction it is the value of the type's last field, which must be a `List` (`Overlay`'s and `Group`'s `children`) and can't also be given by name; `Type() { .. }` is a construction; why braces and not an indented block: `Overlay(..)` + an indented block can't be told from a call followed by an indented statement or a continuation line without making every call's line end significant, while `{` after a call's `)` was unused, and the scanner settles the one clash, a `{ x }` grouping that starts the next statement: the block's `{` is a new external token, `_block_open`, given only when the `{` is on the line of the call's `)` (spaces and tabs between), so `p := P(x: 1)` + a line `{ a }.b()` is still two statements; a list literal may break its items over lines without commas too (`fun view(self) -> List<View> = [` + one item a line + `]`), which is how a view's whole body reads as one block; a `{ .. }` as a whole body was not taken because `{ x }` is a grouping, so a one-item block and a grouping would be the same text; grammar: `children_block` (an optional `block` field on `fn_call`, `class_call` and a method `attribute`), `list_literal` and `children_block` share `_list_items`, whose separator is `,`, the scanner's `_newline` or both (inside the brackets the scanner already gives `_newline` only where it is asked for, so an item ends with its line; a long item breaks inside its brackets); parser: the block is lowered by `parseListLiteral` (core/list_items.rs, unchanged), appended as a positional argument to a call, and on a construction written as a field named `{block}` that core/children_block.rs (`nameBlockFields`, first in the front end, before field defaults are filled) renames to the type's last field, with errors at the call for a last field that is not a `List` ("it is the value of the last field, `n`, which is a `Int`, not a `List`"), one also given by name, and a type with no named fields; checker: an inline `if`'s branch of a narrower covariant type than the one expected is upcast to it (`if c then Cons(head: dot, tail: sqs) else sqs` in a `List<Shape>` slot), which fixes a list literal whose `if` item is followed by plain items of another implementer (`[if c then Dot(..), Sq(..)]` as a `List<Shape>` was "inline if branches: type mismatch"); formatter: a list literal or a block written across lines keeps one item a line (`[`/`{` then an indent, `]`/`}` on its own line), one written on a line stays on it, `{}` stays empty; tests: tests/syntax/children_blocks.plum (constructions with and without other fields, all defaults, empty and one-line blocks, nesting, each item form, plain elements, calls and methods taking the block last, item order, a list literal on lines, covariant children, a spread construction, a grouping on the next line) in all three modes, checker diagnostics for the three errors and for a `{` on the next line, a formatter test, a corpus case; docs: language.md (items on lines, blocks)
058c08c — Peter John 2026-11-13T21:47:43+05:30
field defaults: a struct's field, or an enum variant's named field, may have a default, `struct Label(x: Float, y: Float, text: Str, size: Float = 20.0, color: Color = Color.White, align: Align = Left, touch: Touchable = Disabled)`; a construction names its fields and may leave out a defaulted one (`Label(x: 16.0, y: 12.0, text: "Score")`), and `Held()` with no arguments is a construction; grammar: `= expression` on `ctor_field` and `enum_named_field` (corpus case); parser: `EnumVariant.field_defaults`, a bare const or static call of the declaring type in a default is qualified (`Base` is `Tag.Base`, `heavy()` is `Tag.heavy()`); core/field_defaults.rs (front end, before spread paths and constructor lowering) gives each construction without a spread a fresh copy of each default it leaves out, after the fields it writes, so a default is evaluated per construction in the caller (a `Slice<Int>()` default is a new slice each time) and is typed there (a generic struct's `items: List<T> = []` takes each construction's `T`); defaults that construct structs with defaults are filled first, in dependency order, and defaults that construct each other are an error (`A -> B -> A`); a default that names a local, another field or `self` is an error at the default (its copy would see the caller's names); modules.rs renames clashing variants in defaults too; `Enum.file` is stamped by the loader; checker: `checkFieldDefaults` types each default whose field does not name the type's generics against the field where it is declared ("struct 'P': default of field 'y': type mismatch"), on a fresh-id copy whose calls are dropped; a spread and a pattern are unaffected, a field without a default is still required; std: the statics that only filled defaults are gone: `Box.of`, `Circle.of`, `Group.of`, `Label.of`, `Overlay.of`, `Sprite.cell`, `Tween.of`, `Held.none`, `Held.keysOnly` (`Box`/`Circle`/`Label`/`Sprite` default `touch: Disabled`, `Label` `size: 20.0, color: Color.White, align: Left`, `Sprite` `frame: 0, tint: Color.White`, `Group` `x: 0.0, y: 0.0, touch: ChildrenOnly`, `Overlay` `x: 0.0, y: 0.0, color: Overlay.Shade, touch: Enabled`, `Tween` `ease: Linear, t: 0.0`, `Held` all three); `Viewport.of`, `Aabb.of`, `RoseTree.of` and `Effects.of` do work and stay; every caller converted to the constructor with named fields, leaving out values equal to the default (std, games, tests, game and web-test fixtures, benchmarks/screen_views, run.py's branch programs, Rust inline programs, docs); tests: tests/field_defaults.plum (default used and overridden, any order, bare and qualified consts and statics, a default constructing a struct with defaults, empty constructions, per-construction evaluation, generic struct and a generic caller, spread, variant defaults, patterns, constructions in a parameter default and a const) in all three modes, checker diagnostics (declaration mismatch on a struct and a variant, missing required field, a default naming a field or a local, a closure's own parameter allowed, a cycle), formatter idempotence, parse test; docs: language.md (Structs: field defaults and their rules; Enums), game.md (the kinds table lists defaults, the view sample, the "Beside master" row)
c450bb9 — Peter John 2026-11-13T21:26:27+05:30
list literal items and `Range` statics: an item of a list literal is a value, a spread `..xs` (a `List`, an `Option`: its value or nothing, a `Range`) or a conditional item `if c then x` / `if c then ..xs` (added only when `c` holds; the condition may bind, `if Some(v) := o then v`; `if c then x else y` stays one value); no `for` item (spread a `map`); grammar: `spread_argument` and a new `list_if` in `list_literal` (format and corpus too); the parser lowers the items (core/list_items.rs) so the literal is built once from the back, items running left to right: a value is `Cons(head: x, tail: rest)`, a spread `xs.spreadOnto(rest)` (std: `List.spreadOnto` copies its cells with the TRMC loop `appendCells` and returns the list itself when `rest` is empty, so a spread that ends a literal is shared; `Option.spreadOnto`, `Range.spreadOnto`), an `if` item that ends the literal `if c then Cons(x, Nil) else Nil`, one whose item and rest are all plain (no call) binds the rest once (`{ __li1 := rest; if c then Cons(x, __li1) else __li1 }`), else it runs first as an `Option` (`(if c then Some(x) else None).spreadOnto(rest)`; `if c then ..xs` binds `Some(xs)` and matches); checker: a covariant receiver widens to its expected result when its arguments fail (`..self.rings` then a `Label` in a `List<View>` literal: `rings.spreadOnto(..)` is checked as a `List<View>`'s and the receiver upcast; `widenReceiverTo`); in orbitrunner's view fusion merges several upcasts into the spread loops (`appendCells$__upcast4`, `spreadOnto$__upcast3`), the others are an upcast then a copy; `Range.until(start, end)`, `Range.to(start, end)` and `Range.downTo(start, end)` are statics of std's `struct Range` and the `Int.until`/`Int.to`/`Int.downTo` methods are gone (246 callers converted: std, examples, tests, benchmarks, fixtures, Rust inline programs, docs; Map's and Set's own `until` untouched); `Range.map` (a `List`, TRMC); std/Int and std/Option import std/collections/List, so a program with std/Int has `List` (the import hint for a list literal is tested on a program with std/App only); no pass matched on the method's name: benchmarks/ranges/range_fold.plum, 20 passes of 10,000,000, fold 0.92 s before and 0.89 s after, `for` 1.35 s and 1.36 s; views as one literal each: orbitrunner's play (`starsFrom`/`lifeIcons` are `..Range.until(0, Star.Count).map(..)`/`..Range.until(0, self.lives).map(..)`, `Star.Count`), balloonpop's playground (`sky` inlined, `if self.partying() then ..self.party()`, `confettiFrom` is `confetto` mapped over `Range.until(0, PlaygroundScreen.Confetti)`), std/game's test view `Viewed`, the web-test stress fixture (`rangeLink` gone); tests: tests/syntax/list_items.plum (each item form, nesting, empty spreads, `Option`/`Range` spreads, binds, order around effects and plain items, covariant spreads, a 100,000-item spread) in all three modes; trmc tests look at the program's own `filter`/`map` (std's `List` is now loaded with std/Int), two match codegen tests compile without fusion (it now folds their constant calls into `main`), the LSP test completes `Range.` statics; docs: language.md (list literal items, the ranges, Coercion's sample and receiver rule), game.md (the view as one literal)
471e488 — Peter John 2026-11-13T20:57:26+05:30
inference, so a view needs no annotations: `List` and `Option` are covariant over a trait (a `List<Ship>` is a `List<View>` wherever one is expected, an `Option<Ship>` an `Option<View>`, nested too); each instance is its own wasm-gc type, so the check records each site (`unifyArg` falls back to `tryUpcast`, by the value's node id) and `lowerUpcasts` (checker/upcasts.rs) wraps the value in a helper made once per pair of types, `fun __upcast0(xs: List<Ship>) -> List<View> = match xs Nil => Nil, Cons(h, t) => Cons(head: h, tail: __upcast0(t))`, which the second check types exactly (`checkSourceFullPre` lowers, then checks again; a check or a pass's re-check that leaves a site unlowered is an error, so a rewrite that makes one is dropped); a value already of the wider type costs nothing; `Slice`/`Array` stay invariant (written in place), nothing is covariant inside a fn type, a generic body's `List<T>` is not upcast; a receiver widens to its arguments (`back.append(views)` on a `List<Box>` retries the call at the join `List<View>` and upcasts the receiver); with nothing expected, a list literal of several types is built at their join and `if`/`match` branches join at their trait (`joinTrait` falls back to `joinAll`): the one most specific trait two types share, ties broken along each type's first listed trait (`Box[View, Sized, Touch]` and `Circle[..]` join at `View`); TRMC types the cell it builds as the result (a `Cons(head: ship, ..)` built for a `List<View>` failed its re-check, so a map into a wider list was never a loop: the backlog entry is gone); `Views.all`/`Views.one` are gone: orbitrunner's and balloonpop's views, the web-test fixture, std/game's tests and the screen_views benchmark have no `List<View>`/`View` annotations; cost on benchmarks/screen_views: orbit paint the same before and after (about 156 ms for 14,400 ticks, checksum 925878360), and a screen upcasting a `List<ViewDot>` of 10,000 each frame costs about 4 ns an item, the same as the hand map it replaces; `import std/App` is required like any module (no prelude): the loader no longer loads it for a file that lists `[App]` ("unknown trait App (import std/App)"; a library folder without std still takes the marker), and every program imports it: examples, games, tests, benchmarks, fixtures, run.py's generated programs, the docs' snippets and the Rust inline programs (in a shared prefix the import takes the blank line's place; positions asserted after an inserted line moved by one); tests: tests/traits/covariance.plum (each rule, a 100,000-item upcast, the source list untouched), checker tests for covariance, its soundness (fn types, a `mut` container, a generic body, `Slice`), the joins and an ambiguous one, and the import; the `$dyn` copy of a `List<Self>` result now upcasts (a `List<Self>` parameter is still the error); docs: language.md's Coercion (the covariance, its cost, the inference rules, a sample), game.md's view, std/App's comment
dbfa8c5 — Peter John 2026-11-13T20:08:50+05:30
`main` in the program's `[App]` primitive, and nothing is global: std/App.plum declares the marker trait `App` (beside std/Test's `UnitTest`), loaded without an import for a file that lists it (a test's own library folder without it still has the marker); a program's entry points are the funs of `primitive <Name>[App]` (`primitive OrbitRunner[App] = fun main(io: Io) -> Game = ..`): the parser lifts its `main` and `export fun`s to top-level fns (`liftEntries`), so every later pass, the wasm exports and the host ABI are unchanged (an export keeps its name: the host calls `update`, not `Plugin.update`), and a bare call of a sibling entry point stays bare; loader: no top-level `fun` at all (a top-level `main` or `export fun` is the no-globals error pointing at `[App]`), a second `[App]` primitive in a file is an error naming the first, and an imported file's `[App]` keeps its `main` as a static (`Closures.main()`, `OrbitRunner.main(io)`); `plum run`/`plum build <folder>` pick the one file with a `primitive <Name>[App]`, and a file without one says where `main` goes; modules.rs keeps only the variant-clash renaming (the module function and constant resolution, `m.f()`, the `main@stem` rename and the lowercase-module error are gone), and the checker's "undefined name 'palette'" for the old `palette.shade(..)` says `shade` is a static of `Palette`; every `main` converted, into the file's namespace primitive when it has one (`Basics[App]`, `StrBench[App]`, `TwoScreens[App]`) or a new one named after the program (`OrbitRunner`, `BalloonPop`, `Clicks`, `StressGame`, fixtures): examples, games, tests, benchmarks (not master_vs_simpler/master), web-test and game fixtures, ~520 Rust inline programs (`primitive Main[App]`, merged into an adjacent `primitive Main`; positions in their assertions shifted with them), parser.rs's grammar tests, the tree-sitter corpus (trees regenerated) and highlight sample, run.py's branch game drivers, dispatch/run.py's generated program; tests for the rule, two `[App]`s, a `main` of another primitive, an imported `[App]`'s `main`, the folder pick; docs (language.md: first program, the rule, `export fun`; README, game.md, tools.md, std.md samples); host's old-entry message names `[App]`
7a83195 — Peter John 2026-11-13T19:38:17+05:30
Merge branch 'sl/globals-rule' into sl/app-main
0ccc80d — Peter John 2026-11-13T19:31:56+05:30
nothing global, `const`: loader: a top-level `fun` other than `main` (and an `export fun`, the host's entry point), a top-level `extern fun` and a top-level constant are errors ("`f` is a top-level function, and nothing is global but `main`: move `f` into a `primitive`, `struct`, `enum` or `trait` and call it as a static (`Type.f(..)`)"); a constant is `const Name = value` in a type's body (grammar: optional `const` keyword, so the bare `Name = value` parses and is an error asking for `const`), highlights/format queries, LSP keywords and doc-block items, vscode grammar; every static value in std, examples, tests, benchmarks and fixtures is a `const` (171), the top-level constants left in tests/ and the game fixtures moved into their types (`MathEdgesTest.Inf`, `P.Origin`, `Crate.Base`, `Run.Start`, ..), the game fixtures' `page` upcast is a typed local; module fixtures mathx, shapes, Palette, hue, tint and constants are namespaces (`Mathx.clamp`, `Palette.Dark`, `Hue.code`, `Constants.Third`) and modules_tests is about them (the module-function rules have nothing left to name); tail_calls and closure_tail_call_runs pass the static again (`TailCallsTest.goClosure`); checker: a generic or extern static as a value is an error like a free fn's (it passed the checker and failed in codegen), a static call checks an unpinned generic of its own like a free call (`Links.len(Nil)`), an undefined call suggests the enclosing type's statics; uniqueness: a static's calls get `$unique` versions (its receiver is its type) and a dropped version's calls are renamed back by type (the games broke otherwise), a static named as a value escapes (it was proved unique); reuse: statics are candidates and `T.f` as a value disqualifies; closure_spec: a static value is the closure `|a| T.f(a)`, so it is specialised like a free fn name; LSP: go to definition of a bare sibling static call; about 1,360 top-level funs in the compiler's inline programs (86 Rust files: checker, core, codegen, driver, cli, lsp, game tests and src unit tests) are statics of `primitive Main` or of a namespace named after a shared prelude (`Pre.show`, `CellFns.bump`, `ListFns.mapList`), callers and assertions on names, labels and positions updated, name lookups made to fail on a missing fn (`newsIn`, `proved`, `provedFn`) so a renamed fn can't pass vacuously; the generated game entry (`gameUpdate`/`gameDraw`) stays free in the uniqueness tests that simulate it, parser.rs's grammar-only tests keep top-level funs; tree-sitter corpus and highlight sample in the new form; docs (language.md: every sample, the rule, `const`, extern statics, tests sample; README; performance.md)
2b50f5d — Peter John 2026-11-13T18:54:45+05:30
tests are statics: `Item::Test` and `ast::Test` are gone; the parser marks a `[UnitTest]` primitive's funs without parameters `Fn::is_test` and keeps them as statics (`MapTest.adds`); the checker gives a test `io` when std/Io is loaded and names it in errors by `ast::testLabel` (`__test_MapTest__adds`, shown as `test MapTest.adds` by `diag::sourceName`, loops lifted out of it too); `tests_lower` rewrites the entry file's tests in place (report body, `Str` result, `io` parameter), drops imported files' tests and exports each by its key (`test#MapTest.adds`), codegen finds it by key; a non-test build drops the tests before checking (the driver's strip is gone); loader's duplicate-test check on the statics; every pass's `Item::Test` arm removed (uniqueness, forms, binders, blocks, ctors, question, modules, spread_paths, reuse, prune, enum_checks, builtin_usage, compile_builtins, LSP); `plum test` runs the same 1395 tests with the same names, assert reports and filters unchanged, a crash now names the test frame; checker: a static of a generic type whose arguments fail in a generic body's erased pass (closure specialisation's capture made generic) binds the owner's open variables to its generics instead of leaving the receiver `Queued<_t>` to default to `Queued<Unit>`, a type no value has whose trait methods were never compiled (tests/traits/generic_static_trait_value.plum); std/game: `Queued.of` replaces the workaround `Effects.queued<A>`; std/game/headless.plum is std/game/TestRig.plum (imports in examples, tests, benchmarks, web-test fixtures; docs/game.md); KdTree: the `push2`/`consIf` comment says what the helpers save now (three times the compile, free at run time); CLI help and comments
e81d9ee — Peter John 2026-11-13T18:28:46+05:30
examples, benchmarks, web-test fixtures: no top-level funs but main (366 moved) and no top-level constants; each example's funs about one of its types are methods or statics of it (`c.spin()`, `w.asInt()`, `House.parse`), the rest a `primitive` named after the file (`Recursion.sumTo`, `StructsRecords.pick`, `Basics.MaxRetries`); the games' helpers are statics of their screen or actor (`PlayingScreen.starsFrom`, `Balloon.burst`, `Particle.step`, `e.applyTo(world)`, `Assets.MusicVolume`), their test-only helpers in the tests/ mirror's `PlayingScreenHelpers`/`PlaygroundScreenHelpers`, BalloonPop's `playground` inlined into `main`, `TwoScreens.game()`; benchmarks in `FibBench`, `Timing`, `MathCheck` .., static_calls compares a static with a `primitive`'s (0.58 s both; free fns are gone), run.py's game drivers compile again (`OrbRun`, `BalloonRun`, `std/game/Input`, `Held.keysOnly`); web-test fixtures' `page` upcast is a typed local, `Stress`/`Interleave` keep their constants and drawing; std constants in types: `Slice.SortRun`, `JsonParser.MaxDepth`, `TestRig.DefaultW`/`DefaultH`, `Effects.Running`; loader: a namespace `primitive` is allowed in any file, a built-in's or an extension (type parameters, a `self` fun, a type of the file's name) still only in std and tests; checker and codegen: a static is a value (`call(Recursion.dec, n)`, `f := Rec.twice`) through the free fn's trampoline, typed as its fn; formatter: a blank line before a comment in a primitive's body is kept; tests (loader, modules, codegen static value, formatter), tests/examples and tests/benchmarks callers; docs (language.md: statics, constants, traits and modules samples; std.md, game.md)
05dcf42 — Peter John 2026-11-13T18:18:22+05:30
tests: no top-level funs outside tests/examples (721 moved): helpers with parameters of a file with no main and no helper without parameters are funs of its `primitive XTest[UnitTest]`, otherwise every helper is a static of a `primitive X` named after the file (`SlicePushHelper.run`, `ShadowedFreeFn.localClosure`), callers in tests, mains, other types' bodies and constants qualified; a static passed as a value is a closure (`run(n, |m: Int| go(m))`: statics are not values); the fbip fuzzer's helpers are funs of `GTest`, and its template works again (`std/Test`, the `EOP` terminator at column 0, bodies indented for funs, programs written under a `tests` folder); the module fixtures mathx, shapes, Palette, hue and tint keep their module functions for the module-rule tests; parser: a bare call of a sibling static yields to a local, pattern binder or closure parameter in scope of that name, not only to a parameter (a binder `helper` in `Wrap(helper) => helper(1)` called the static `helper`), with a parser test; codegen: an `extern fun` static skips only its `io` (statics lost the receiver slot in e325f301; the merge with d6a473be still skipped two and panicked on every game test), with a test; driver test's `main` on passes_upcasts qualified; docs (language.md: unqualified statics and shadowing)
7910bf7 — Peter John 2026-11-13T17:56:01+05:30
Merge branch 'sl/game-globals' into simpler-language
d6a473b — Peter John 2026-11-13T17:55:48+05:30
std/game: no top-level funs; gfx.plum is Gfx.plum with `primitive Gfx` (`Gfx.clear(io, ..)`, the host's `extern fun`s inside it), audio.plum is Audio.plum with `primitive Audio`, input.plum is Input.plum with the input externs statics of `InputEvent` (`InputEvent.isKeyDown(io, k)`; `Input` already has methods of those names); `Texture.load`/`Texture.create` (were `loadTexture`/`createTexture`), `Sound.load` (`loadSound`), `Held.keysOnly` for `input.inHeld`, `Held.withOrWithout`; Replay's externs and codecs statics of `Replay` (`Replay.floatCode`, `Replay.sameInput`), `Scaled.halveBig` and `wholeUp`; `a.at(t)` and `a.length()` methods of `Anim` (were `Anim.at(a, t)`), its helpers statics (`Anim.endless` for `animForever`), `AnimPose.identity` and `combine`; View's list walks in `primitive Views` (`Views.paint` for `paintView`, `Views.stepAll`, `Views.all`, `Views.hitIn`, ..); `Place.at`, `Place.pivoted`, `Place.turned`; `Box.draw`, `Box.contains` (`boxHit`), `Circle.draw`, `Sprite.draw`, `Label.draw`, `Label.textWidth`, `Align.lead`; `Easing.powIn` ..; History's list helpers statics of `History`; Game's helpers and `cameraOf`/`baseCamera` (from Screen.plum) statics of `Game`; `Delivery.deliverTo` and its steps; `primitive Effects` (`Effects.queued`, `Effects.sent<A>`, the dispatch slot); `TestRig.mount`, `mountWith`, `play`, `playWith` (were `headless.mount` ..); the test-only probes (`ViewProbe`, `Viewed`, ..) and `animNear`, `histTick` moved to their tests/ mirror in `ViewHelpers`, `AnimHelpers`, `HistoryHelpers`; checker: another type's `extern fun` is a static taking `io: Io` first, and codegen passes neither its receiver slot nor its io to the host, so the wasm import names stay (`plum::clear`); every caller (std, examples, games, tests, benchmarks, compiler tests and fixtures, web-test fixtures), the LSP index test, the loader test on `Gfx.missingAsset`; docs (game.md, std.md, language.md, backlog)
e325f30 — Peter John 2026-11-13T17:52:37+05:30
statics compile and optimise like free fns: a static's wasm signature has no receiver (`FuncSig::recv`, 0 for a free fn and a static) and a call pushes no stand-in, so `optimize::inlineLeaves` copies a small static into its callers (`Tool.digit` read its parameters from local 1 and was never copied); `simplify` inlines `T.f(..)` as it does `f(..)` (statics keyed `T.f`, not a trait's; in the recursion graph, `isPure`, `caseOfCase`), TRMC rewrites a static calling itself as `T.f(..)`; std's `Array.copy`/`equal` and native op bodies read their parameters from local 0; tests: simplify (a static inlined like the free fn, case-of-case through one, a recursive one not), TRMC (`Gen.upTo`), codegen (a static's loop is the free fn's code, a several-leaf owner adds no parameters); benchmarks/static_calls: static 0.79 s -> 0.57 s, free 0.57 s
cbeca8d — Peter John 2026-11-13T17:28:52+05:30
std: no top-level funs outside std/game; std/math/math.plum is std/math/Math.plum with `primitive Math` (`Math.sqrt`), std/testing.plum is std/Test.plum with `primitive Test` (`Test.expectEq`) beside `trait UnitTest`, std/http.plum is std/Http.plum with `primitive Http` (`Http.get`); each collection's helpers are statics of its type without their prefix (`bpTake` is `BPlusTree.take`, `hamtPopcount` `Hamt.popcount`), BPlusTree's invariant checker inside `isValid`; Slice's loops are methods (`eachFrom`, `mapFrom`, ..) and its merge sort and `outOfRange` statics, `List.consFrom` and the method `mapCells`, `Int.repeatUntil`, `Aabb.slab` and `outside`, `Str.typeName` (`@typeName` lowers to it, the native table names `Math.sqrt` and `Str.typeName`); the test-only helpers and structs left in std moved to their tests/ mirror, in a `primitive <Type>Helpers` (a `primitive` is allowed under a `tests` folder), map_model.plum with its own `MapModelHelpers`; tests/std/http.plum and testing.plum are Http.plum and Test.plum; every caller (std/game, examples, games, tests, benchmarks, compiler tests and fixtures), the LSP index test, the module-rule tests on tests/modules/Palette; docs (language.md, std.md)
a4e5ce6 — Peter John 2026-11-13T16:51:07+05:30
Merge branch 'sl/tests-move' into simpler-language
38e52e1 — Peter John 2026-11-13T16:50:53+05:30
tests: no `test` blocks, tests in the tests/ mirror as `primitive XTest[UnitTest]` funs; std's and the examples' tests moved to tests/std/.. and tests/examples/.. (the games' too), the benchmarks' to tests/benchmarks/.., the web-test fixture's to fixtures/tests/; std/testing's marker `trait UnitTest` (a trait may have no body); each fun without parameters of a UnitTest primitive is a test named `XTest.fun`, one with parameters a helper; a UnitTest primitive outside a `tests` folder is an error naming the mirror, and a primitive's traits must be declared and without methods; a file never imports itself and from inside tests/ a file imports what it mirrors; `m.f` without a call is the function as a value; examples/match.plum is examples/patterns.plum (`match` is a keyword); grammar, formatter, LSP, docs (language.md Tests and Modules, std.md, game.md, tools.md, README)
f41a2d9 — Peter John 2026-11-13T16:30:43+05:30
web/plum_bridge and web-test, from master (86085924, d8df3f79, 9a43a992); plum run <folder>: after GPU_WAIT_MS (5 s) with no WebGPU adapter or device the page says "WebGPU did not answer within 5 s. Still waiting; .." and logs a console.error, goes on waiting, and an answer that comes late takes the message away, logs "WebGPU answered after N s" and starts the game; web-test --stall-adapter checks both halves (chromium_says_when_webgpu_does_not_answer_and_starts_when_it_does), the checks and the record and replay pages forgive that error on a page that then answered; record_and_replay closes the recording page once its recording is taken and fails a replay page that never set plumRenderer; web_check's browser tests take turns, one browser at a time (this branch has no play_check); plum run and plum build take a folder and run its one .plum file with a `fun main` (none or two is an error), with CLI tests; README, game.md, tools.md, the backlog
d8ce9bc — Peter John 2026-11-13T12:04:32+05:30
docs: game.md on master's View and Actor (the stepping through a screen's stepped, the hud, steps and camera, Circle by its centre, Label align, turned shapes, the other buttons and keys, Input.axis, transitions dropping presses, the kit's hud and dispatch), Beside master rewritten against e91c40ce; std.md; the backlog (what still differs: the stepping walk's work, the window size on the input, Ticker, real font metrics)
59f2d55 — Peter John 2026-11-13T12:04:32+05:30
std/game: master's View and Actor[View], actors stepped by the game through the screen's stepped(dt), Screen.hud(window), steps and camera(base) (Viewport.lookAt); one walk over view (Container and paint gone, paintSelf); Circle by its centre, Label align, Overlay's size required and hit inside its box, Sprite.frameAt, math.near, Tween as a value; gfx drawRectEx and drawTextEx in std, the bridge, the native host and the recorder; the right and middle mouse buttons, the extra Keys, Input.axis and one set of readers, the replay's button mask; pointer events dropped and each screen on its own background in a transition; Screen without enter, leave, resize, draw and fresh, Control without restart; Effects' one dispatch slot, Game.pixels, frameDrawn, drawList, the kit's dispatch doing an undo at once; the culled draw's area mapped through the camera (it was compared in world units against pixels)
70c9b8d — Peter John 2026-11-12T22:52:24+05:30
docs: game.md around the screen view (the view and its frame, actors, how std draws a view, the slice, clicks, effects and navigation, undo and time travel, the kit, beside master: every signature that differs and why); language.md (subtrait defaults, imports from the importing file's folder), std.md, the backlog (screen views: what is open, the closure match bug), the scene-tree results kept as a record
6eaffb8 — Peter John 2026-11-12T22:52:24+05:30
benchmarks: screen_views, Orbit Runner per tick and 10,000 actors by view or by hand, as master's; master_vs_simpler on the new games
0e2886a — Peter John 2026-11-12T22:52:17+05:30
std/game: each screen draws its view; Game(screens: ..), ScreenSlice<A>, Control, undo and time travel, the headless kit; the scene tree removed
1ef9f2d — Peter John 2026-11-12T22:52:08+05:30
host: PLUM_NULL_GFX answers the game API with zeros in place of trapping
9ba372c — Peter John 2026-11-12T22:52:08+05:30
loader: a program imports its own files from any of its folders; an imported file's main is its module's
987ff11 — Peter John 2026-11-12T22:52:08+05:30
checker: a subtrait may give a supertrait's method a default of its own
8b93d56 — Peter John 2026-11-11T19:19:09+05:30
docs/benchmarks: master 20ae0ea0 against simpler-language f6834793
f683479 — Peter John 2026-11-11T08:08:51+05:30
docs/benchmarks: master e63393fb against simpler-language 5d384800
234406e — Peter John 2026-11-11T08:07:32+05:30
benchmarks: master options run against master e63393fb again
87a57d1 — Peter John 2026-11-11T08:03:43+05:30
docs/benchmarks: rerun simpler-language before and after at 5d384800, under low load
5d38480 — Peter John 2026-11-11T07:26:53+05:30
Plans: the compile-time layer review plan the backlog points at
6d0ac75 — Peter John 2026-11-11T02:42:32+05:30
Backlog: Map reuse landed; what limits it
025169d — Peter John 2026-11-11T02:42:27+05:30
Merge branch 'perf/map-reuse' into simpler-language
7152cc2 — Peter John 2026-11-11T02:41:59+05:30
std: native Int/Byte/Bool/Float compare, copied into their callers
95a32e5 — Peter John 2026-11-11T02:33:58+05:30
uniqueness: reuse matched cells in generic fns and methods
20de20e — Peter John 2026-11-11T01:47:11+05:30
Backlog: rewritten, open items only
441e351 — Peter John 2026-11-11T01:44:44+05:30
docs/benchmarks: simpler-language before and after 2026-11-10 (3cd4692f against 7c82a31f)
7c82a31 — Peter John 2026-11-11T01:26:29+05:30
driver: share the adopted program with the pass state instead of copying it
e2e893e — Peter John 2026-11-11T01:21:19+05:30
codegen: scan for crash sites while the AST is formatted, not after
fc5d059 — Peter John 2026-11-11T01:17:52+05:30
checker: look globals up by hash in TypeEnv
2f12c15 — Peter John 2026-11-11T01:15:29+05:30
uniqueness: drop dead closure arguments without copying every node
9d8b25a — Peter John 2026-11-11T01:10:37+05:30
drive: share callee fns instead of copying one per call candidate
00217f5 — Peter John 2026-11-11T01:04:47+05:30
loader: read and parse the imported files on several threads
5ec63bc — Peter John 2026-11-11T00:59:48+05:30
checker: check the arity of types written in bodies without copying them
a2cecd5 — Peter John 2026-11-11T00:59:48+05:30
checker: leave types with no type variable as they are when zonking
3efe50e — Peter John 2026-11-11T00:49:56+05:30
uniqueness: format a scan's failure message only when it is the first
383c28e — Peter John 2026-11-11T00:49:56+05:30
drive: build the simplifier's tables once per drive, not once per call
1cbdb08 — Peter John 2026-11-11T00:49:55+05:30
checker: read the working directory once per check, not per instantiation
7587d09 — Peter John 2026-11-11T00:32:30+05:30
docs: drop the gone view(state) and gfx.rect, at not get in the plans, test-all's deadline
cf29fca — Peter John 2026-11-11T00:30:34+05:30
codegen comments: Array's intrinsic read is at, not get
db94535 — Peter John 2026-11-11T00:29:16+05:30
native: every compiler-implemented @native must be declared in std, tested
9b8942d — Peter John 2026-11-11T00:28:01+05:30
test-all.sh: a deadline per Rust test executable, and failure messages are kept
da625ef — Peter John 2026-11-11T00:26:36+05:30
replay test: a failed check keeps its recording and says where
9b918a9 — Peter John 2026-11-11T00:25:00+05:30
cli test: the games keep every in-place spread they had before Ctx held the stepped tree
2874d0d — Peter John 2026-11-11T00:14:28+05:30
wasm-codegen test: a Rust-embedded program reads Array.at, the crashing form (item 2 follow-up)
3955e74 — Peter John 2026-11-11T00:10:11+05:30
game: hover goes to the button a click reaches; a non-screen spawned under the root crashes
16615b1 — Peter John 2026-11-11T00:05:45+05:30
std: Map.set is gone; with is the one way to write an update
46982ad — Peter John 2026-11-11T00:03:22+05:30
std: Deque gains first, last, fold, each, toSlice and ==; Heap gains toSlice, fold, each and ==; Range gains any and all
c459df0 — Peter John 2026-11-11T00:02:15+05:30
std: one equality method, eq; equals is gone from Slice, List, Time, Duration and Uuid
0faae62 — Peter John 2026-11-10T23:28:03+05:30
std: at crashes out of range and get is the Option form, everywhere
fd0d134 — Peter John 2026-11-10T23:17:04+05:30
std: membership is contains on every collection (Map, Set and the std/collections trees drop has)
ef56ea3 — Peter John 2026-11-10T23:12:54+05:30
docs/tools.md: PLUM_NO_WASM_OPT, build -o for an executable, the filter and timeout changes, test-all's grammar step
d17c1fa — Peter John 2026-11-10T23:12:54+05:30
plum-lsp protocol test: UTF-16 positions, generics, parse errors, an untitled document, a long file
da2dabb — Peter John 2026-11-10T23:12:53+05:30
determinism_test: a web build, and a module compiled by another path or from a copy of std
480466e — Peter John 2026-11-10T23:12:53+05:30
std_bounds_test: Grid get and set off the grid crash with the cell and the size
0e76183 — Peter John 2026-11-10T23:12:53+05:30
plum run and build refuse a program without main; a missing path is named as missing
44752a1 — Peter John 2026-11-10T23:12:53+05:30
plum test: the shared durations file drops files that are gone
2910207 — Peter John 2026-11-10T23:12:53+05:30
plum test: a --filter that matches no test fails
bc57276 — Peter John 2026-11-10T23:12:38+05:30
plum test: the default per-test deadline is 120 s
e337eab — Peter John 2026-11-10T23:12:38+05:30
test-all: the tree-sitter step compiles the parser into the run's own folder, and a skip is named in the last line
4164644 — Peter John 2026-11-10T23:12:38+05:30
plum format: keep a string's text and a trailing comment's place
b0781c1 — Peter John 2026-11-10T22:31:03+05:30
benchmarks/math_bits: check exp and ln as fdlibm ports, not against the old loops
a61458f — Peter John 2026-11-10T22:31:03+05:30
benchmarks/dispatch: --base compiles with the base's own std
389dc0f — Peter John 2026-11-10T22:31:03+05:30
benchmarks/scene_trees: the branch alone by default; its program takes arguments
d94d0e1 — Peter John 2026-11-10T22:31:03+05:30
benchmarks/master_vs_simpler: the branch alone by default, master on request
430a13e — Peter John 2026-11-10T22:31:03+05:30
std/game: annotated locals the checker no longer needs, stale walk comments
2c66562 — Peter John 2026-11-10T22:31:03+05:30
games: drop the annotated-local workarounds that are no longer needed
8b44046 — Peter John 2026-11-10T22:12:15+05:30
tests/port/game: pointer routing and button hover against a brute-force reference
c0a9ec9 — Peter John 2026-11-10T22:12:15+05:30
Game: a screen that returns itself with another key stays the current screen
bcc1149 — Peter John 2026-11-10T22:12:15+05:30
SceneTree: hit tests and pointer routing run in constant stack along a sibling chain
8ab9beb — Peter John 2026-11-10T22:04:49+05:30
tests/std: sort stability at every run and pass size, Str's Unicode edges
1e8b748 — Peter John 2026-11-10T22:01:10+05:30
std: comments no longer describe Map as a hash table, Set as mutable or std/ref
2ceb998 — Peter John 2026-11-10T22:01:10+05:30
Map: a model test of every operation; the million-entry test takes 1 s, not 8
5a570ae — Peter John 2026-11-10T22:01:10+05:30
List: any and all, as on Slice, Map and Set
498c844 — Peter John 2026-11-10T22:01:10+05:30
std: == compares contents on Slice, Pair, Uuid, Time and Duration
ce93ac0 — Peter John 2026-11-10T22:01:10+05:30
Str: a byte that cannot start a character counts as one
fc03ef3 — Peter John 2026-11-10T22:01:10+05:30
Grid: get and set crash off the grid
0177fbb — Peter John 2026-11-10T22:01:10+05:30
Base64: data after padding and a lone last character are errors
de7eacd — Peter John 2026-11-10T22:01:09+05:30
Json: whole numbers are exact Ints, and strings are checked as JSON requires
ceb4483 — Peter John 2026-11-10T22:01:09+05:30
Decimal: digits past the 800th only count as a sticky digit
322d1fa — Peter John 2026-11-10T22:01:09+05:30
math: exp and ln are fdlibm's, under 1 ulp
df97001 — Peter John 2026-11-10T21:41:08+05:30
Decimal: an estimate past Float.Max still rounds to it, and a tie between two last digits takes the even one
0c0fbf1 — Peter John 2026-11-10T21:30:47+05:30
Codegen: a match the checker proved exhaustive never fails to compile
ab2a43a — Peter John 2026-11-10T21:23:21+05:30
Codegen: the wasm passes can be turned off, and a fallback is loud
b7a7ea1 — Peter John 2026-11-10T21:18:13+05:30
Codegen: an in-place spread compares whole types for a bare named source too
bcb9c6c — Peter John 2026-11-10T21:13:58+05:30
Codegen: a trait downcast's tag mask ignores tags of 64 and more
18331bd — Peter John 2026-11-10T21:10:23+05:30
Fusion: fresh generics of a fused fn are named in a fixed order
60e4ec8 — Peter John 2026-11-10T20:58:54+05:30
Parser: a statement can't follow another on the same line
0e6b688 — Peter John 2026-11-10T20:28:50+05:30
Checker: polymorphic recursion is an error, not a hung compile
343f2e1 — Peter John 2026-11-10T20:17:00+05:30
Errors in a loop lifted out of a test name the test too
59fd900 — Peter John 2026-11-10T20:12:48+05:30
Checker: `struct S[T](x: T)` is one error, with the hint
89b61f7 — Peter John 2026-11-10T20:09:47+05:30
Checker: an enum's name or an unknown name with fields is no constructor
2b84e73 — Peter John 2026-11-10T20:07:36+05:30
Errors in a test name the test under plum test too
40e4292 — Peter John 2026-11-10T20:04:23+05:30
Checker: open-dispatch instantiations in a fixed order
b999fb2 — Peter John 2026-11-10T20:01:39+05:30
Parse-time errors keep their own file
3f715bd — Peter John 2026-11-10T19:57:38+05:30
Parse errors: a chained comparison says comparisons don't chain
799b9c8 — Peter John 2026-11-10T19:55:15+05:30
Checker: a match on literals or with guards needs a catch-all arm
575186f — Peter John 2026-11-10T19:52:54+05:30
Checker: a struct, payload variant, type or unknown name alone is no value
a107655 — Peter John 2026-11-10T19:50:25+05:30
Checker: an open variable keeps the type its first use fixes
30cf07e — Peter John 2026-11-10T19:24:51+05:30
Tests: a partial revert takes dependent callers along; games build byte-identically
2f51682 — Peter John 2026-11-10T19:24:51+05:30
Driver: fusionRun is driveNotes then inPlaceRun; a mangled comment in native
b60d901 — Peter John 2026-11-10T19:24:51+05:30
FBIP fuzzer: generic types, and --no-fusion as a third mode
56839a7 — Peter John 2026-11-10T19:04:35+05:30
AGENTS.md: agents run on Opus, not Fable
1dde246 — Peter John 2026-11-10T16:39:13+05:30
Syntax: type parameters and arguments in <>, a type's traits in [] after its name
b702f26 — Peter John 2026-11-10T16:07:30+05:30
Checker: clearer errors, == on Option and Result, toStr in strings
4f59df3 — Peter John 2026-11-10T16:07:30+05:30
LSP: complete the built-ins after @
8dda3df — Peter John 2026-11-10T15:51:27+05:30
Parser: binary literals of several digits, and a match of conditions
f4d8212 — Peter John 2026-11-10T15:46:53+05:30
Checker: [] needs a known type where it is written
482ec9d — Peter John 2026-11-10T15:35:06+05:30
Compiler: sibling scopes may declare one name with two types
2c7e59b — Peter John 2026-11-10T15:29:16+05:30
Doc snippets that import are type-checked
07ddf01 — Peter John 2026-11-10T15:26:07+05:30
std: searches return Option, Json.parse returns Result
83ae9ce — Peter John 2026-11-10T15:22:22+05:30
No + on Str: build strings with interpolation
1731fd0 — Peter John 2026-11-10T15:03:57+05:30
Merge branch 'fix/stdlayout' into fix/integration
9eba29b — Peter John 2026-11-10T15:03:31+05:30
std/collections: Map is the one ordered map
af9a42e — Peter John 2026-11-10T14:59:11+05:30
std: decimal becomes the Decimal type
86103e5 — Peter John 2026-11-10T14:59:11+05:30
Compiler: a static's call to itself is a self tail call
26f8c23 — Peter John 2026-11-10T14:52:55+05:30
Docs: the built-ins in one place
6716f7e — Peter John 2026-11-10T14:49:52+05:30
todo is removed from the language
3dac004 — Peter John 2026-11-10T14:46:36+05:30
@native: the body of a function the compiler supplies
960893f — Peter John 2026-11-10T14:43:02+05:30
Linear memory: eight @mem built-ins replace std/mem
e832110 — Peter John 2026-11-10T14:38:56+05:30
std/collections: text.plum is gone, List gets join
db5f7b1 — Peter John 2026-11-10T14:38:27+05:30
@sameRef(a, b) replaces std/ref's ref.same
d719176 — Peter John 2026-11-10T14:35:16+05:30
std: os becomes the Os namespace
51ee136 — Peter John 2026-11-10T14:31:23+05:30
std/encoding: base64 becomes the Base64 namespace
9b895aa — Peter John 2026-11-10T14:23:46+05:30
Docs: the std layout (collections, encoding, math, flat game)
7b858cd — Peter John 2026-11-10T14:21:21+05:30
std/game: the scene folder is flattened, Clickable gets its own file
6b57711 — Peter John 2026-11-10T14:18:28+05:30
std: Json and base64 move to std/encoding; math, Random, Aabb, Vec2 and Affine to std/math
e79f51b — Peter John 2026-11-10T14:16:16+05:30
std: collections move into std/collections, the functional ones lose their F prefix
0ea6c16 — Peter John 2026-11-10T14:07:51+05:30
Merge branch 'fix/compiler2' into fix/integration
4c05ed8 — Peter John 2026-11-10T14:07:31+05:30
In-place updates apply to generic types
bb4d893 — Peter John 2026-11-10T14:07:31+05:30
Checker: two open type variables that meet are linked
96af2f4 — Peter John 2026-11-10T12:33:55+05:30
Checker: a generic main is an error, not a codegen panic
d38eae1 — Peter John 2026-11-10T12:33:55+05:30
Tests: scratch folders are deleted by a drop guard
9f12e1b — Peter John 2026-11-10T12:30:56+05:30
trmc test: the 1M List.map bound is measured in fuel, not wall-clock time
eddeba1 — Peter John 2026-11-10T12:30:56+05:30
Checker: a wrong type-argument count is reported once, with no follow-up
21b11e4 — Peter John 2026-11-10T12:30:56+05:30
Diagnostics say which fns they are in; the partial revert reads that
e68034d — Peter John 2026-11-10T12:30:56+05:30
Checker: errors in a closure's statements are reported
702fc35 — Peter John 2026-11-10T12:30:56+05:30
Grammar: crash is accepted as a branch of an inline if
9c5bf61 — Peter John 2026-11-10T12:30:10+05:30
Merge branch 'fix/clickable' into fix/integration
353a391 — Peter John 2026-11-10T12:28:03+05:30
Game: a Clickable trait for actors the pointer can hit
28d65a2 — Peter John 2026-11-10T12:24:11+05:30
Traits: generic implementers of a trait that doesn't fix their parameters
4e91020 — Peter John 2026-11-10T12:22:35+05:30
Map: note the similar balanced trees and how they differ
16ff95b — Peter John 2026-11-10T12:22:03+05:30
Merge branch 'fix/map' into fix/integration
ebc978a — Peter John 2026-11-10T12:21:39+05:30
std Map: a persistent weight-balanced tree (Data.Map), Set on top of it
33b5632 — Peter John 2026-11-10T12:15:25+05:30
Fusion: a producer's written type arguments go into the fused fn
ac22df2 — Peter John 2026-11-10T12:15:25+05:30
Codegen: a Unit inline if as a statement leaves nothing on the stack
e9f7d66 — Peter John 2026-11-10T12:11:02+05:30
std: compare on Int, Float, Str, Bool and Byte; Str gets < <= > >=
26f51d8 — Peter John 2026-11-10T11:52:30+05:30
AGENTS.md: every agent uses Fable 5.2
d6feb0a — Peter John 2026-11-10T11:47:21+05:30
Merge branch 'fix/tooling' into fix/integration
4801618 — Peter John 2026-11-10T11:45:22+05:30
Hygiene: drop chat transcripts and a stale grammar sample; port probes into topic folders
e58dc7b — Peter John 2026-11-10T11:41:54+05:30
Grammar checks in test-all; mut highlighted; ... before .. in the tmLanguage
e0e384e — Peter John 2026-11-10T11:40:44+05:30
Merge branch 'fix/checker' into fix/integration
7907fb1 — Peter John 2026-11-10T11:39:55+05:30
Merge branch 'fix/passes' into fix/integration
ac18475 — Peter John 2026-11-10T11:39:15+05:30
checker: reject what codegen or the run failed on, errors at the code
7131601 — Peter John 2026-11-10T11:39:15+05:30
loader: positioned duplicate and missing-import errors, duplicate tests
b517517 — Peter John 2026-11-10T11:39:09+05:30
Uniqueness: compile time (FKdTree's in-place pass 5 s -> 0.4-0.9 s release)
82f60a0 — Peter John 2026-11-10T11:39:06+05:30
parser: one path for a type that may be a fn type
d3dabfb — Peter John 2026-11-10T11:38:52+05:30
plum build executables: precompiled module, one build at a time, one crash line
6c3176f — Peter John 2026-11-10T11:38:52+05:30
Benchmark harness: --no-fusion beside --no-fbip; BENCHMARK.md marked historical
78229d5 — Peter John 2026-11-10T11:35:09+05:30
Merge branch 'fix/math' into fix/integration
268fe32 — Peter John 2026-11-10T11:34:45+05:30
std math: fdlibm sin, cos and tan with Cody-Waite and Payne-Hanek reduction
b6aff87 — Peter John 2026-11-10T11:32:56+05:30
Merge branch 'fix/codegen' into fix/integration
07e9bb2 — Peter John 2026-11-10T11:31:55+05:30
wasm codegen: inline tiny straight-line functions at their call sites
79f33a4 — Peter John 2026-11-10T11:31:55+05:30
wasm codegen: a fn's closures get distinct debug names
6be890a — Peter John 2026-11-10T11:28:57+05:30
Passes: no drops left across std, examples and tests
4e1ad62 — Peter John 2026-11-10T11:28:56+05:30
CLI: plum check, plum test --filter and --watch, compile fusion flags, clean crash lines
7d5b4f8 — Peter John 2026-11-10T11:25:09+05:30
wasm codegen: a codegen error points at the node it came from
caea994 — Peter John 2026-11-10T11:25:09+05:30
wasm codegen: a type missing from the GC registry is an error, not a panic
5b345ac — Peter John 2026-11-10T11:24:51+05:30
wasm codegen: no test on the last case of an exhaustive match
d54833d — Peter John 2026-11-10T11:24:43+05:30
wasm codegen: string and float literal match patterns
a596fb1 — Peter John 2026-11-10T11:24:20+05:30
wasm codegen: withoutNames, and a game's web build ships without the name section
7ff787d — Peter John 2026-11-10T11:19:16+05:30
wasm codegen: declare each function type once
127ff74 — Peter John 2026-11-10T11:17:18+05:30
One --lib-path default for every tool; plum-lsp: load errors, debounce, versions, UTF-16, go to definition
07463f2 — Peter John 2026-11-10T11:14:01+05:30
wasm codegen: one data segment per distinct literal; long interpolations join once
abccf58 — Peter John 2026-11-10T11:09:15+05:30
CLI tests: scratch folders and served children are cleaned up on every path
c16f93c — Peter John 2026-11-10T11:07:51+05:30
Merge branch 'fix/std' into fix/integration
e5ad35b — Peter John 2026-11-10T11:07:51+05:30
Merge branch 'simpler-language' into fix/integration
8461d00 — Peter John 2026-11-10T11:07:21+05:30
game std: pointer routing finds the hit first, cheaper idle ticks, allAs/kidsAs, FRoseTree walks in constant stack
46ee3ec — Peter John 2026-11-10T11:03:16+05:30
wasm codegen: drop the functions nothing reaches
0249865 — Peter John 2026-11-10T11:02:50+05:30
std math: fdlibm atan and atan2 (C99 signed zeros), correctly rounded cbrt, asin/acos without cancellation
54cfd9b — Peter John 2026-11-10T11:01:46+05:30
Faster test-all: compiler crates at opt-level 1, slowest test files first, sweep modes side by side
4adfed8 — Peter John 2026-11-10T10:54:21+05:30
Driver: a failing fn reverts alone; in-place updates are their own pass
f03cb30 — Peter John 2026-11-10T10:54:21+05:30
Passes: keep the types a rewrite used to drop with the whole program
3586bfb — Peter John 2026-11-10T10:53:40+05:30
std numbers: exact decimal parse and shortest format (std/decimal), Json numbers, Int.parse overflow, tanh
b53566d — Peter John 2026-11-10T10:51:32+05:30
Backlog: trait list form decided, struct Ship<M>[Actor<M>, Clickable](..)
2c8333e — Peter John 2026-11-10T10:42:10+05:30
std collections: O(n) List.toArray, merge sort, checked indexing, Slice combinators, Map[K, V](), Heap.by
c10b729 — Peter John 2026-11-10T10:35:49+05:30
wasm codegen: drop ref.casts the operand's static type already satisfies
de47c34 — Peter John 2026-11-10T10:31:23+05:30
plum test: a test that never ends fails as timed out, by name
b29ed38 — Peter John 2026-11-10T10:21:32+05:30
test-all: a failed sweep lists its failed tests, panics and errors under their file
8bd5759 — Peter John 2026-11-10T10:00:00+05:30
AGENTS.md: worktrees and other branches are allowed
78ea999 — Peter John 2026-11-10T09:57:26+05:30
std math edges: logb and cbrt from the bits, atan past 2^60, Int.Min.toStr, big Float.toStr, Float.hash on the bits
3cd4692 — Peter John 2026-11-10T09:27:33+05:30
std math: series written out, Float.toBits/fromBits, ln and exp scale from the exponent bits
d84597d — Peter John 2026-11-09T23:01:45+05:30
std math: wasm's native float and bit instructions, in line at each call
c5839be — Peter John 2026-11-09T22:25:05+05:30
Scene tree: keep unchanged nodes in input and the game's tick; mostly-still benchmark workloads
dd03d29 — Peter John 2026-11-09T22:25:05+05:30
std ref.same: reference identity as one ref.eq, heap types only, never updated in place
457345f — Peter John 2026-11-09T22:09:36+05:30
Trait dispatch: a br_table on a type tag instead of a ref.test chain
9167b5f — Peter John 2026-11-09T21:30:17+05:30
Driver: prune unreachable imported code before the passes; reuse the check's pre-union program; PLUM_TIMINGS
a85700c — Peter John 2026-11-09T21:28:10+05:30
Reuse: check every candidate's callers in one walk of the program
eb9088b — Peter John 2026-11-09T21:27:56+05:30
Checker: scopes share the program's globals instead of copying them
17736d7 — Peter John 2026-11-09T21:26:05+05:30
Balloon Pop: hit tests the body first and drops the shine circle
78e191a — Peter John 2026-11-09T21:26:04+05:30
Game tick: no sine for unturned places, one walk per pointer event, no empty walk sets
06284d5 — Peter John 2026-11-09T21:21:05+05:30
Benchmarks: Orb Run restarts like master's, and master must print what the branch prints
8f3f4d7 — Peter John 2026-11-09T20:40:10+05:30
Benchmarks: master against simpler-language (compile time, wasm size, run time)
ad2cf07 — Peter John 2026-11-09T20:12:56+05:30
Backlog: a faster SceneTree step that stays functional
83aab43 — Peter John 2026-11-09T20:07:45+05:30
Screens in one tree: the state names the screen, with transitions
08d0036 — Peter John 2026-11-09T18:40:41+05:30
Traits: inheritance, downcasts to a trait, statics, and @typeName
670c97c — Peter John 2026-11-09T17:21:04+05:30
Checker: a spread's source fixes the type arguments before the fields
cd2c888 — Peter John 2026-11-09T17:10:40+05:30
One way to make a game: Game, Screen and Store (actor-trait task 9)
fb07a1a — Peter John 2026-11-09T15:58:38+05:30
One scene system: std/game/scene's SceneTree (actor-trait task 8)
6362264 — Peter John 2026-11-09T15:35:02+05:30
FBIP through trait objects, nested spread reuse, and reboxing value structs
b5b860b — Peter John 2026-11-09T14:54:58+05:30
orb_run_tree and the scene_trees benchmark on trait Actor[M] (actor-trait task 7)
2abfecc — Peter John 2026-11-09T14:54:58+05:30
std/game_enum_tree on trait Actor[M] (actor-trait task 6)
e797f07 — Peter John 2026-11-09T14:17:45+05:30
Traits docs, examples/traits.plum, and std/game/Store (actor-trait task 5)
38c6ade — Peter John 2026-11-09T14:17:45+05:30
Traits: explicit type arguments, defaults and nested Self through dispatch, generic downcasts
9d679b4 — Peter John 2026-11-09T13:37:24+05:30
Traits: codegen, and FBIP through dispatch and downcasts (actor-trait tasks 3 and 4)
133dab1 — Peter John 2026-11-09T13:08:53+05:30
Traits: parser and checker (actor-trait tasks 1 and 2)
3efcfd1 — Peter John 2026-11-09T13:03:47+05:30
Plan: one way to make a game: Game + Store + Screens, actors are Actor[M]
525a5ef — Peter John 2026-11-09T12:50:21+05:30
Plan: name a screen Screen and the actor tree SceneTree
4979680 — Peter John 2026-11-09T12:46:45+05:30
Plan: bring master's Game and screens over on traits (task 9); the tree is Stage
3562ffd — Peter John 2026-11-09T12:39:44+05:30
Tests: run the plum test sweep and the Rust test executables in parallel
a1ad85f — Peter John 2026-11-09T12:32:39+05:30
std/collections/functional/FRoseTree: move ETree out of game_enum_tree
ab89e24 — Peter John 2026-11-09T12:07:10+05:30
std/game_enum_tree: generic over Actor[K]; port orb_run to it; trait design doc
4993804 — Peter John 2026-11-09T11:57:53+05:30
Port from master: compiler fixes, io calls, functional trees, deterministic games, replay
0f0c0a2 — Peter John 2026-11-09T10:19:00+05:30
Simpler language: rewrite the docs for the branch's language
67d593b — Peter John 2026-11-09T02:36:52+05:30
Scene trees: benchmark the branch's persistent tree against master's three
314d861 — Peter John 2026-11-09T02:36:52+05:30
std/game_enum_tree: the persistent scene tree in the branch's language
ed1be37 — Peter John 2026-11-07T11:45:48+05:30
Simpler language: results, not merged
653e893 — Peter John 2026-11-07T11:09:59+05:30
Simpler language: compare imperative and functional games
a6cfb1c — Peter John 2026-11-07T09:53:56+05:30
Simpler language: compile a second version for unique callers, and proof fixes
43aa43c — Peter John 2026-11-07T08:43:30+05:30
Simpler language: write ..self in place, and fix what that exposed
b369d7f — Peter John 2026-11-07T03:11:32+05:30
Simpler language: last-use moves in the in-place proof
b29f849 — Peter John 2026-11-07T02:24:39+05:30
Simpler language: key the proof and purity by receiver type
fd0e689 — Peter John 2026-11-07T01:43:37+05:30
Simpler language: remove return, break, continue and local reassignment
d5c0a4d — Peter John 2026-11-06T22:16:45+05:30
Simpler language: examples and tests off return, while and local reassignment
b2baefb — Peter John 2026-11-06T21:47:41+05:30
Simpler language: std off return, while and local reassignment
a41fbe3 — Peter John 2026-11-06T20:52:21+05:30
Block-bodied closures, and fixes for names shared with std
c6157e4 — Peter John 2026-11-06T20:41:29+05:30
Backlog: testing improvements
273bc9a — Peter John 2026-11-06T20:33:03+05:30
AGENTS: run every test executable before each commit
9f3cdb1 — Peter John 2026-11-06T19:53:31+05:30
Simpler language: small std files off return and while, and fold, each, find
7757280 — Peter John 2026-11-06T19:40:29+05:30
Block if and match values are real expressions
0240e61 — Peter John 2026-11-06T18:52:35+05:30
Docs: async is not planned
7602f55 — Peter John 2026-11-06T18:49:32+05:30
Backlog: async direction
c147b75 — Peter John 2026-11-06T18:49:24+05:30
Docs: async direction in the design notes
0278c12 — Peter John 2026-11-06T18:48:43+05:30
Simpler language: block if and match as values, .= and spread paths
cafcef3 — Peter John 2026-11-06T18:38:47+05:30
Docs: simpler language design notes
f865665 — Peter John 2026-11-06T18:13:49+05:30
README: remove the screenshot
7ff9e86 — Peter John 2026-11-06T18:09:23+05:30
Simpler language: ? is a rewrite into match
474d832 — Peter John 2026-11-06T17:45:46+05:30
Simpler language: std namespaces become modules
02af96d — Peter John 2026-11-06T17:04:10+05:30
Simpler language: modules
1f77028 — Peter John 2026-11-06T16:42:31+05:30
Docs: game docs for plain games, one scene style
272d6bd — Peter John 2026-11-06T15:49:17+05:30
Simpler language: no inheritance
4bde697 — Peter John 2026-11-06T15:21:10+05:30
plans: simpler language file patterns
4745ae8 — Peter John 2026-11-06T15:20:27+05:30
Simpler language: plain games and one scene style
74beeb4 — Peter John 2026-11-06T14:52:03+05:30
plans: simpler language sizes
e7acf3c — Peter John 2026-11-06T14:51:56+05:30
Simpler language T1: baseline benchmark of master
8a00a46 — Peter John 2026-11-06T14:38:08+05:30
plans: a simpler language, approved, on its own branch
33fe838 — Peter John 2026-11-06T14:36:31+05:30
Report type errors inside string interpolation
2150594 — Peter John 2026-11-06T14:03:56+05:30
FBIP stage 1: pilot and verdict, and the simpler language plan
09c07b1 — Peter John 2026-11-06T13:37:40+05:30
plans: FBIP stage 1 owns
d61ff9f — Peter John 2026-11-06T13:36:25+05:30
fip fun: a compile-time guarantee of in-place updates
c3fa217 — Peter John 2026-11-06T13:14:05+05:30
FBIP stage 1: switch, stronger proof, Array.with, and fusion fixes
950794d — Peter John 2026-11-06T11:06:24+05:30
plans: top-level functions with receivers, module namespaces
04de243 — Peter John 2026-11-06T10:57:29+05:30
plans: FBIP stage 1, keep the chain
2606ba6 — Peter John 2026-11-06T10:54:54+05:30
plans: FBIP stage 1, T4 example
12f598b — Peter John 2026-11-06T10:53:22+05:30
plans: FBIP stage 1
eeaa05c — Peter John 2026-11-06T01:50:59+05:30
Game engine refactor: Game struct, main as the entry, plum run
e38cbb1 — Peter John 2026-11-05T23:55:13+05:30
plans: FBIP review plan, game engine refactor
ef329e5 — Peter John 2026-11-05T23:48:47+05:30
Move compiler/tests to tests at the top level
f822aa8 — Peter John 2026-11-05T23:28:10+05:30
Compiler cleanup phase 6: tests in Plum
938ecb2 — Peter John 2026-11-05T23:09:39+05:30
Compiler cleanup phase 5: file splits and type kinds
b883e37 — Peter John 2026-11-05T22:39:59+05:30
Docs: a short scene style guide, move internal notes out of the way
5ecf1ab — Peter John 2026-11-05T22:33:48+05:30
Simplify the README and rewrite the docs
2003250 — Peter John 2026-11-05T22:32:40+05:30
Check a closure's self-calls in the checker
824016e — Peter John 2026-11-05T22:02:40+05:30
Compiler cleanup phase 4: node ids, spans and typed codegen
baca938 — Peter John 2026-11-05T19:15:16+05:30
Move plum-tooling and scripts under compiler/
92943df — Peter John 2026-11-05T19:08:48+05:30
backlog: move plum-tooling and scripts under compiler/ before phase 4
bed1cc5 — Peter John 2026-11-05T19:07:24+05:30
plans: cleanup phase 4 (node ids, spans, typed codegen); backlog: FBIP behind a flag
803be1b — Peter John 2026-11-05T19:00:27+05:30
Move Rust crates under compiler/, rename std and examples
6fd238d — Peter John 2026-11-05T18:41:07+05:30
Io as a built-in primitive with extern methods
79df289 — Peter John 2026-11-05T18:15:57+05:30
AGENTS.md: use a fresh subagent once one nears 75% context; backlog order
086f1c8 — Peter John 2026-11-05T18:05:48+05:30
Compiler cleanup phase 3b: pass-list driver and Diagnostic errors
faa4d7e — Peter John 2026-11-05T17:32:36+05:30
Explicit function generics; single letters are plain names
949dabf — Peter John 2026-11-05T16:34:55+05:30
Build speed: one test binary per crate, editor assets only for dist builds
c929c25 — Peter John 2026-11-05T16:22:53+05:30
Language simplification run D3: remove the old error syntax
d7658cc — Peter John 2026-11-05T15:11:39+05:30
Language simplification run D2: port std, examples and tests to Option/Result
98b85f8 — Peter John 2026-11-05T14:27:42+05:30
Language simplification run D1: std Option/Result, postfix ? and ! unwrap
90983a5 — Peter John 2026-11-05T12:11:31+05:30
decisions: keep postfix ! as unwrap sugar; run D design and D1 plan
961bd21 — Peter John 2026-11-05T11:52:30+05:30
Language simplification run C: subtyping, no traits, no union enums
7a071c1 — Peter John 2026-11-05T10:53:44+05:30
decisions: single inheritance (one embedded struct = base), built in run C
cdfddc4 — Peter John 2026-11-05T10:50:07+05:30
decisions: run D uses Option/Result with postfix ? as the only sugar
66e079b — Peter John 2026-11-05T10:39:36+05:30
backlog: language ideas to discuss later (single inheritance, no init, one error form, Pony)
e7b65ce — Peter John 2026-11-05T10:22:15+05:30
AGENTS.md: push with repo-push after every commit
5b2fc6c — Peter John 2026-11-05T10:19:38+05:30
AGENTS.md: commit only, no pushing
ec85a75 — Peter John 2026-11-05T10:18:44+05:30
AGENTS.md: work directly on master, no worktrees
46c0025 — Peter John 2026-11-05T00:08:19+05:30
Language simplification run B: one product type, struct
5ec826e — Peter John 2026-11-04T23:54:42+05:30
docs: run B T5 owns fixtures
083e978 — Peter John 2026-11-04T23:48:21+05:30
docs: run B T5 owns
f5d1f61 — Peter John 2026-11-04T23:48:08+05:30
docs: run B T4 owns ctors.rs
f7e0ec7 — Peter John 2026-11-04T23:35:53+05:30
docs: run B T4 owns embeds/layout fixes
9fdeccd — Peter John 2026-11-04T23:27:05+05:30
docs: run B T3 owns checker cleanup
ad58efa — Peter John 2026-11-04T23:19:36+05:30
docs: run B T7 owns every isValue/isRecord site
7315244 — Peter John 2026-11-04T23:19:07+05:30
docs: run B T4 lists layout changes
dae0bfe — Peter John 2026-11-04T23:10:43+05:30
docs: run B T2 owns two tests
8ced458 — Peter John 2026-11-04T23:04:33+05:30
docs: run B T2 split
4299cfb — Peter John 2026-11-04T23:01:45+05:30
docs: language simplification run B plan
bbb2fc4 — Peter John 2026-11-04T22:56:28+05:30
docs: AGENTS.md: run cargo clean-all -y after each merged plan or phase
a5e4d01 — Peter John 2026-11-04T22:53:15+05:30
Language simplification run A: no generators, variadics, value enums or Seq; one loop form; list and map literals
2645871 — Peter John 2026-11-04T22:53:05+05:30
grammar: delete fun_star corpus (generators removed; T6)
7277762 — Peter John 2026-11-04T22:32:18+05:30
tests: delete generator-only test and fixture (T11)
c1f3c12 — Peter John 2026-11-04T22:29:40+05:30
docs: run A T11 owns README
22fdf41 — Peter John 2026-11-04T21:59:57+05:30
docs: run A T11 owns explicit
fa335e7 — Peter John 2026-11-04T21:59:39+05:30
std: delete Seq (generators removed; T4)
4aa831b — Peter John 2026-11-04T21:59:23+05:30
docs: run A T6 owns explicit
4630024 — Peter John 2026-11-04T21:44:53+05:30
docs: run A T4 owns
8a69d0e — Peter John 2026-11-04T21:36:28+05:30
docs: run A T10 owns List.plum
99e3949 — Peter John 2026-11-04T21:25:39+05:30
docs: run A T2 owns explicit
d31eccf — Peter John 2026-11-04T21:25:31+05:30
docs: run A T9 owns explicit
3854b3e — Peter John 2026-11-04T21:25:16+05:30
docs: run A T9 owns
3dc4412 — Peter John 2026-11-04T21:25:08+05:30
docs: run A owns after T2/T3
931d6a7 — Peter John 2026-11-04T21:20:22+05:30
docs: decide Option/Result enums replace error sets, T? and null (run D)
a277678 — Peter John 2026-11-04T21:12:14+05:30
docs: run A: one for form, no Seq
8d8a0e0 — Peter John 2026-11-04T20:58:19+05:30
docs: backlog: tree Map and constant map literals (later)
a9e4592 — Peter John 2026-11-04T20:49:52+05:30
docs: run A keeps the range keyword
784decf — Peter John 2026-11-04T20:45:59+05:30
docs: run A plan split
7873c08 — Peter John 2026-11-04T20:41:58+05:30
docs: language simplification run A plan
9855142 — Peter John 2026-11-04T20:37:32+05:30
docs: language simplification review plan
1b6d1fd — Peter John 2026-11-04T20:32:38+05:30
Merge branch 'superlite/compiler-cleanup-3a'
1597c83 — Peter John 2026-11-04T20:32:38+05:30
docs: backlog: decide whether traits are still needed (notes and benchmark evidence)
7444c01 — Peter John 2026-11-04T20:31:35+05:30
docs: language simplification scope (errors, =, generators, variadics, value enums, struct)
d47ae76 — Peter John 2026-11-04T20:26:16+05:30
Merge master into compiler-cleanup-3a
e8446dd — Peter John 2026-11-04T20:26:00+05:30
Compiler cleanup phase 3a: per-compile state, no fusion globals
06d3318 — Peter John 2026-11-04T20:26:00+05:30
docs: decide to remove traits and union enums (records with embedding + override instead)
68edfc2 — Peter John 2026-11-04T19:52:18+05:30
docs: kids' games review plan (queued last) and Balloon Pop draft
a269f58 — Peter John 2026-11-04T19:50:23+05:30
docs: phase 3a T1 split
28a3f9f — Peter John 2026-11-04T19:43:35+05:30
docs: compiler cleanup phase 3a plan
529a106 — Peter John 2026-11-04T19:25:01+05:30
Compiler cleanup phase 2b: one front end, one compile entry, no Expr::Paren
427da43 — Peter John 2026-11-04T19:08:08+05:30
docs: phase 2b T7 owns the tests it touched
d8f1135 — Peter John 2026-11-04T18:51:05+05:30
docs: backlog: move Rust crates under compiler/ after the refactor
ae151f9 — Peter John 2026-11-04T18:24:17+05:30
docs: phase 2b T2 owns list
5eab4c3 — Peter John 2026-11-04T18:14:29+05:30
docs: phase 2b plan split
567dd39 — Peter John 2026-11-04T18:08:00+05:30
docs: compiler cleanup phase 2b plan
bb462a8 — Peter John 2026-11-04T18:04:41+05:30
Merge compiler cleanup phase 2a
84d23ae — Peter John 2026-11-04T18:04:25+05:30
Compiler cleanup phase 2a: deterministic output, shared walker, generics in one place, plum-host
05b282c — Peter John 2026-11-04T17:50:21+05:30
docs: Elm/Roc-style error reporting for the self-hosted compiler
cc99b67 — Peter John 2026-11-04T17:36:20+05:30
docs: phase 2a T4 owns closure_spec_test
b8d0694 — Peter John 2026-11-04T17:36:17+05:30
docs: self-hosting design and groundwork review plan
a2a00dd — Peter John 2026-11-04T17:33:40+05:30
docs: plan for Io as a built-in primitive with extern methods
2d17b9a — Peter John 2026-11-04T17:14:12+05:30
docs: phase 2a T16 owns host lockfiles
ada2b0a — Peter John 2026-11-04T17:08:16+05:30
docs: phase 2a plan split (rename, generics, host tasks)
f198426 — Peter John 2026-11-04T17:03:00+05:30
docs: compiler cleanup phase 2a plan
8445080 — Peter John 2026-11-04T16:03:20+05:30
Compiler cleanup phase 1: dead code out, small duplicates merged, shared test-support crate
42452f8 — Peter John 2026-11-04T15:48:01+05:30
docs: compiler cleanup phase 1 plan; explicit function generics queued after phase 2
996aea8 — Peter John 2026-11-04T15:36:10+05:30
docs(plans): compiler cleanup plan re-verified on 217e404 (written by another session)
2ba2a03 — Peter John 2026-11-04T15:36:02+05:30
format: blank line after the module line
217e404 — Peter John 2026-11-04T15:26:24+05:30
Input step 3: typed messages for the functional scene; TRMC typing fix
ee3e4e6 — Peter John 2026-11-04T14:56:25+05:30
Input steps 1 and 2: shared Input with keys, onInput on actors
a86fb1c — Peter John 2026-11-04T14:39:29+05:30
Game scenes: methods on types instead of free functions; scene styles doc
18b7b69 — Peter John 2026-11-04T13:47:55+05:30
format: one argument per line for multi-line calls and field lists
7a61c06 — Peter John 2026-11-04T13:39:14+05:30
docs: backlog of planned and open items
68bc715 — Peter John 2026-11-04T13:36:35+05:30
Language restrictions: Io capability, per-field mut, pattern casing, own removed
188c69e — Peter John 2026-11-04T13:30:14+05:30
docs(plans): compiler cleanup and architecture review plan (written by another session)
6203667 — Peter John 2026-11-04T13:09:59+05:30
examples: consolidate 39 files into 25 topical ones (tests unchanged: 408); assets and tools move under games/
3af14d9 — Peter John 2026-11-04T13:00:00+05:30
Remove own: ownership checker, own-only tests and corpus; own_inplace tests become unique_inplace
0f66a6c — Peter John 2026-11-04T12:24:33+05:30
docs: plan example consolidation and games/assets move (T25)
126b62f — Peter John 2026-11-04T11:10:06+05:30
examples: mutable games move to games/imperative (T16), io-style entry points (T13)
cdb6abb — Peter John 2026-11-04T10:44:51+05:30
docs: after FBIP, record merges into an immutable struct with compiler-chosen boxing
87cdfdc — Peter John 2026-11-04T10:41:14+05:30
docs: queue native inline variants before FBIP; FBIP waits for a benchmark
4640b26 — Peter John 2026-11-04T10:22:57+05:30
docs: update/render component names; std imperative folder task
7eb0b59 — Peter John 2026-11-04T10:19:17+05:30
docs: component-style functional game in restrictions T14; decision record updated
ebcd25f — Peter John 2026-11-04T10:10:16+05:30
docs(plans): restrictions T11 benchmarks the three scene implementations against the own-era numbers
279200c — Peter John 2026-11-04T10:05:30+05:30
docs: record the November 2026 language and scene decisions
72f01b5 — Peter John 2026-11-04T10:04:32+05:30
docs(plans): language restrictions: per-field mut instead of mut record; FBIP is the next plan
60b292c — Peter John 2026-11-04T09:50:09+05:30
docs(plans): language restrictions: Io capability instead of io fun
b3aeaba — Peter John 2026-11-04T09:40:55+05:30
plum: --no-fusion and --explain-fusion flags replace the env vars
2c0b727 — Peter John 2026-11-03T23:51:15+05:30
Supercompiler: fusion of pure producer/consumer pairs, uniqueness and cell reuse
5a6af08 — Peter John 2026-11-03T23:38:00+05:30
docs(plans): language restrictions review plan (immutable records + mut record, io effects, pattern casing, fusion before lowering, expression-bodied candidates)
aff71b3 — Peter John 2026-11-03T22:51:52+05:30
Functional scenes at feature parity: Anim, Ui, tagged hit-testing
2060bf0 — Peter John 2026-11-03T21:58:35+05:30
empty_record_embed e2e test: use xs.at(i) so the embedded source parses
9d0ff39 — Peter John 2026-11-03T21:55:51+05:30
Move the pure and functional scene styles into their own folders
d1c02f3 — Peter John 2026-11-03T21:55:51+05:30
codegen_tests: account for closure specialisation copies
53de7e3 — Peter John 2026-11-03T21:43:41+05:30
Pure scene graph on enums: Node record + Kind enum, Custom(actor: Actor)
f5ce2ba — Peter John 2026-11-03T21:20:05+05:30
docs(plans): state/view parity review plan; pure-scene-enums plan notes
58b6f33 — Peter John 2026-11-03T20:51:15+05:30
docs(plans): supercompiler: uniqueness inference stage to test whether own is needed
ad3ec48 — Peter John 2026-11-03T20:37:53+05:30
docs(plans): pure scene enums: Custom(actor: Actor), no Msg; ownership fix task
7aa0d3b — Peter John 2026-11-03T20:34:45+05:30
docs(plans): pure scene enums: game kinds stay records in a union enum
8dead74 — Peter John 2026-11-03T20:34:10+05:30
docs(plans): pure scene graph on enums review plan
f2156fc — Peter John 2026-11-03T20:24:50+05:30
hosts: start the wasmtime GC heap at 64 MiB
8d9b551 — Peter John 2026-11-03T20:22:49+05:30
docs(plans): supercompiler review plan
651acd8 — Peter John 2026-11-03T19:17:08+05:30
Closure specialisation; allocation-free actions; direct scene traversal
5993bb7 — Peter John 2026-11-03T19:09:47+05:30
trmc_test: guard that std List.map stays within 3x of a build with a presized GC heap
1973db0 — Peter John 2026-11-03T19:04:02+05:30
trmc_test: count struct.new in specialised copies too
e04834f — Peter John 2026-11-03T18:37:07+05:30
Unboxed variants, enum init, List -> Slice, std cons List
fa4cd74 — Peter John 2026-11-03T18:28:51+05:30
forms: regression test for for-range over a type with fun* items
614ddf5 — Peter John 2026-11-03T18:02:43+05:30
Tail calls round 2: closure and error-union tail calls, single-pass TRMC, fast dev GC
c576196 — Peter John 2026-11-03T17:45:53+05:30
docs(plans): tail calls round 2 plans; post-tail-call benchmark rows
184c054 — Peter John 2026-11-03T16:59:10+05:30
Tail calls: self tail calls as loops, return_call, tail modulo cons; break depth fix
265296b — Peter John 2026-11-03T16:54:24+05:30
codegen: regression tests for break/continue inside match arms in loops
d169ae7 — Peter John 2026-11-03T16:45:22+05:30
tail calls: wire trmc::rewrite into typedSource; plum-core test dev-deps
861d398 — Peter John 2026-11-03T16:08:41+05:30
tail calls: plan; default FnCall.tail at construction sites; run markTailCalls in typedSource
775bbeb — Peter John 2026-11-03T15:44:05+05:30
Recursive state/view; fix param reassignment codegen; own record docs
95ccbed — Peter John 2026-11-03T15:27:26+05:30
own record: ownership checker, in-place spread codegen, scene on own; state/view Orb Run
748c4d4 — Peter John 2026-11-03T14:50:51+05:30
own: carry isOwn through trait and embed lowering
e16e8d6 — Peter John 2026-11-03T14:42:42+05:30
own: default isOwn/ownSelf at AST construction sites
2aabaea — Peter John 2026-11-03T14:40:50+05:30
docs(plans): own record phase B review and machine plan
fd0d216 — Peter John 2026-11-03T14:21:53+05:30
Pure scene graph, phase A (std/game PureScene, Actions, SceneTree, SceneInput)
59d923d — Peter John 2026-11-03T16:47:41+05:30
Functional-style gaps: typed closures, fn return types, tail calls
c881a9f — Peter John 2026-11-03T15:39:59+05:30
docs(plans): functional-style gaps review plan
3e4d318 — Peter John 2026-11-03T15:31:42+05:30
examples: functional.plum operations as enum methods; loops section
05f8c38 — Peter John 2026-11-03T15:22:34+05:30
refresh-editors: install native binaries as new files
9117837 — Peter John 2026-11-03T15:21:52+05:30
docs(plans): remove outdated and unbuilt plans; fix stale status lines
8c62a9b — Peter John 2026-11-03T15:17:15+05:30
docs(plans): delete shelved enum/union split plan
38ccb88 — Peter John 2026-11-03T15:16:06+05:30
Inline record variants and = match bodies
e369b75 — Peter John 2026-11-03T14:34:52+05:30
docs(plans): inline variants + = match plans; enum/union split shelved
7e14e71 — Peter John 2026-11-03T14:17:10+05:30
Record embedding and override
e465385 — Peter John 2026-11-03T12:10:24+05:30
examples: Orb Run World functions become World methods
f8a1532 — Peter John 2026-11-03T11:52:16+05:30
docs(plans): enum/union split review plan (parked)
fa1a952 — Peter John 2026-11-03T11:41:01+05:30
Record constructors from the header and init; field defaults removed
b8db58f — Peter John 2026-11-03T10:26:25+05:30
Field defaults on struct, record and trait fields
f151e94 — Peter John 2026-11-02T21:47:29+05:30
std/Json: encode/decode via toJson/fromJson; static calls on type parameters
959b318 — Peter John 2026-11-02T20:47:51+05:30
docs(plans): Orb Run scene review plan
9cfafea — Peter John 2026-11-02T20:47:29+05:30
game_scene: keep animating at game over
ab19e82 — Peter John 2026-11-02T20:45:48+05:30
examples: Orb Run on the scene graph (game_scene.plum); README immediate vs scene
b03ab64 — Peter John 2026-11-02T20:32:36+05:30
docs(plans): traits machine plan and run log
ee042db — Peter John 2026-11-02T20:32:04+05:30
vscode grammar: highlight trait
7ae62f5 — Peter John 2026-11-02T20:31:27+05:30
T8: docs and examples
670cb84 — Peter John 2026-11-02T20:31:27+05:30
T7: editor support
aa923a9 — Peter John 2026-11-02T20:24:55+05:30
T10: box-free trait layout (wasm-gc subtyping)
538b1ee — Peter John 2026-11-02T20:19:57+05:30
T10: box-free trait layout (wasm-gc subtyping)
3c9dcee — Peter John 2026-11-02T20:04:16+05:30
T9: Scene on trait Actor
a1704af — Peter John 2026-11-02T19:50:25+05:30
T8: docs and examples
4306b97 — Peter John 2026-11-02T19:49:59+05:30
T5: field access through a trait
add63b7 — Peter John 2026-11-02T19:49:59+05:30
T4: checker trait rules
808db73 — Peter John 2026-11-02T19:49:16+05:30
T6: codegen and run tests
fe4959d — Peter John 2026-11-02T19:47:30+05:30
T4: checker trait rules
ed7f16c — Peter John 2026-11-02T19:46:13+05:30
T5: field access through a trait
818e0d0 — Peter John 2026-11-02T19:44:08+05:30
T7: editor support
f50415c — Peter John 2026-11-02T19:43:04+05:30
T2: trait lowering
d83c36b — Peter John 2026-11-02T19:40:47+05:30
T2: trait lowering
5bb1d4c — Peter John 2026-11-02T19:37:19+05:30
T3: formatter and highlighting
134a034 — Peter John 2026-11-02T19:36:23+05:30
T1: grammar and parser
6b983a7 — Peter John 2026-11-02T19:20:27+05:30
checker: infer field-assignment statements in closure bodies
8805ee9 — Peter John 2026-11-02T18:41:53+05:30
docs(plans): closure field-assignment fix review plan
303db6d — Peter John 2026-11-02T18:37:49+05:30
checker test: cover plum-std/game in the unresolved-infer-vars sweep
532b997 — Peter John 2026-11-02T18:33:22+05:30
Move the game-engine std modules (Game, Scene, Color, Vec2) to plum-std/game; LSP std index is recursive
db32e90 — Peter John 2026-11-02T18:28:00+05:30
README: Scene z-index, sortChildren, culling and the layer recipe
4c5b5ce — Peter John 2026-11-02T18:27:53+05:30
web-test: stress_world fixture (20k y-sorted sprites, culling) and benchmark results
e0be96f — Peter John 2026-11-02T18:24:45+05:30
scene demo: y-sorted, culled crowd of walkers with toFront on click
34c3f06 — Peter John 2026-11-02T18:21:33+05:30
std/Scene: z-index, toFront/toBack, stable in-place sortChildren, and Scene2D-style culling areas
23627d9 — Peter John 2026-11-02T18:18:04+05:30
docs(plans): scene z-index, sortChildren and culling review plan
6d64a1a — Peter John 2026-11-02T17:56:05+05:30
Game bridge: instantiate plum.wasm without WebAssembly.Module.imports (Safari); web-test --browser webkit, --expect-unsupported-webgpu, --no-module-introspection
bcca2f1 — Peter John 2026-11-02T17:42:31+05:30
plum_bridge: render-target textures are premultiplied (unpremultiply on sample, premultiplied clear), bound the bind-group cache; rendertarget fixture covers a translucent target
a2bf62b — Peter John 2026-11-02T17:37:36+05:30
README, benchmark and docs/game.png for the renderer features
f28e296 — Peter John 2026-11-02T17:32:06+05:30
Orb Run: additive orb glow; scene demo: minimap rendered into a texture
bd86de6 — Peter John 2026-11-02T17:31:11+05:30
textureCreate, renderTarget, blendMode (Blend) in std/Game, the bridge and the headless runner; rendertarget fixture; web-test --expect-pixel
93abedf — Peter John 2026-11-02T17:27:08+05:30
plum_bridge: SDF glyph atlas text through the normal batch; text_sizes fixture
2c424c4 — Peter John 2026-11-02T17:25:03+05:30
plum_bridge: HiDPI backing store and GPU device-loss recovery; web-test --dpr and --lose-device
73a13f5 — Peter John 2026-11-02T17:23:10+05:30
plum_bridge: 16 texture slots per draw call (per-vertex slot, switch over 16 bindings)
225328f — Peter John 2026-11-02T17:19:23+05:30
web-test: report GPU draw calls per frame (draws); interleave fixture with 8 generated textures
e3bef5b — Peter John 2026-11-02T17:11:59+05:30
docs(plans): renderer features review plan
1140b98 — Peter John 2026-11-02T17:01:16+05:30
README: browser-only games flow, std/Scene guidance, headless runner, browser check
4f8f99a — Peter John 2026-11-02T17:00:46+05:30
web-test: always the own renderer, --assets passthrough; benchmark outcome note; regenerate docs/game.png
dc07fdf — Peter John 2026-11-02T16:59:41+05:30
plum game: serve the web build on 127.0.0.1 and open the browser; -o writes a static build
2fde91e — Peter John 2026-11-02T16:58:35+05:30
plum-game: drop macroquad, Pixi and the command buffer; headless wasmtime runner, canonical gpu bridge
41368e0 — Peter John 2026-11-02T16:32:19+05:30
web-test README: document phase split
8f2248b — Peter John 2026-11-02T16:32:09+05:30
Add per-frame phase split to web measurement; rewrite renderer benchmark with gpu/cmd/scene matrix
32ce1ab — Peter John 2026-11-02T16:18:53+05:30
Add std/Scene (Plum scene graph), SceneCmd, scene example and stress fixtures
2c0eaf2 — Peter John 2026-11-02T16:17:17+05:30
Add the gpu web renderer: own WebGPU batcher with a command-buffer decoder
f0fb26c — Peter John 2026-11-02T16:17:02+05:30
Merge branch 'superlite/render-mem' into superlite/render-experiments
acaaac5 — Peter John 2026-11-02T16:16:50+05:30
Add Mem linear-memory primitive and GameCmd command-buffer game API
e5298a5 — Peter John 2026-11-02T16:14:58+05:30
docs(plans): record browser-only/WebGPU-only rulings
298c125 — Peter John 2026-11-02T16:11:22+05:30
plum-game: command-buffer decoder, native cmd mode, PLUM_GAME_MEASURE timing
bf83574 — Peter John 2026-11-02T16:07:39+05:30
docs(plans): render experiments spec (batcher, command buffer, Plum scene graph)
1bebbf9 — Peter John 2026-11-02T15:53:20+05:30
Add a PixiJS web renderer (plum game --web --renderer pixi) and a benchmark
9b45c3f — Peter John 2026-11-02T15:39:26+05:30
Report an unclosed delimiter at its opener; hint suggests a bare return body
1ac13cd — Peter John 2026-11-02T15:34:17+05:30
Report parse errors at the offending token with a hint for `()`, in the loader and LSP
a9b50e3 — Peter John 2026-11-02T15:01:35+05:30
docs(README): playwright-rs browser check
ad7c5e8 — Peter John 2026-11-02T15:01:27+05:30
style: cargo fmt
2a4119c — Peter John 2026-11-02T15:01:16+05:30
Add plum-game/web-test: playwright-rs browser check for web game builds
14c8c85 — Peter John 2026-11-02T15:01:04+05:30
Game host: sound (load/play/loop/stop/volume), example music and effects, quick start docs
9389e9f — Peter John 2026-11-02T14:46:44+05:30
Move sprite generator out of the asset dir, reject symlinks escaping the asset root, discard-target test
3ac7d50 — Peter John 2026-11-02T14:42:36+05:30
Add Orb Run example game with generated sprite sheet; generic Games docs
d5a9f81 — Peter John 2026-11-02T14:42:36+05:30
Game host: generic texture/file/circle API, remove KaM decoders and viewer
bee4356 — Peter John 2026-11-02T14:32:15+05:30
Discarding a non-Unit call result is a compile error; add '_ := expr' discard
0ec364b — Peter John 2026-11-02T14:11:51+05:30
docs(plans): game host milestone 1 plan, progress and incidents
f82e1e2 — Peter John 2026-11-02T14:10:32+05:30
T7: incidental files
1163e3e — Peter John 2026-11-02T14:10:32+05:30
T4: native host: Backend, wasmtime binding, macroquad, recorder
908c08d — Peter John 2026-11-02T14:08:35+05:30
T7: incidental files
63a5080 — Peter John 2026-11-02T14:08:35+05:30
T5: web bridge + `plum game` + README
79646b4 — Peter John 2026-11-02T14:04:34+05:30
T5: web bridge + `plum game` + README
f77dbea — Peter John 2026-11-02T14:04:34+05:30
T4: native host: Backend, wasmtime binding, macroquad, recorder
5617070 — Peter John 2026-11-02T14:02:19+05:30
T7: incidental files
8ffa113 — Peter John 2026-11-02T14:02:19+05:30
T5: web bridge + `plum game` + README
da83c16 — Peter John 2026-11-02T13:57:57+05:30
fix(kam): size the minimap colours up front; Array.push returns a new array
b858611 — Peter John 2026-11-02T13:57:47+05:30
T4: native host: Backend, wasmtime binding, macroquad, recorder
43b65ab — Peter John 2026-11-02T13:56:10+05:30
T4: native host: Backend, wasmtime binding, macroquad, recorder
f689ac7 — Peter John 2026-11-02T13:51:37+05:30
T6: KaM map viewer (P1)
8dc69a5 — Peter John 2026-11-02T13:49:37+05:30
T7: incidental files
7cf0f18 — Peter John 2026-11-02T13:49:37+05:30
T1: export fun + Str bridge
1e95168 — Peter John 2026-11-02T13:45:48+05:30
T2: std Game API + import stubs
010dcc3 — Peter John 2026-11-02T13:44:15+05:30
T3: plum-game crate + KaM asset decoders
eb0d128 — Peter John 2026-11-02T13:33:33+05:30
style: cargo fmt --all
ba979cb — Peter John 2026-11-02T13:33:33+05:30
tooling: editor refresh copies queries/syntaxes; rebuild LSP on core/checker changes
5a35689 — Peter John 2026-11-02T12:31:15+05:30
pascal-case-consts: PascalCase constants, always Type.Name
17bcbee — Peter John 2026-11-02T12:01:07+05:30
tooling: indent after an unfinished if/else/while/for/match/test or = header
f392348 — Peter John 2026-11-02T11:57:28+05:30
tooling: LSP offers and auto-imports std namespaces; queries cover struct/record/match
3a89871 — Peter John 2026-11-02T11:51:44+05:30
docs(README): planned performance work
bd87167 — Peter John 2026-11-02T11:45:17+05:30
docs: Buffer stays as the string builder
a6df794 — Peter John 2026-11-02T11:45:01+05:30
feat: zero-copy Str views; remove ByteSlice and []Byte
f60e57a — Peter John 2026-11-02T11:30:15+05:30
feat: packed Array[Byte]; List views via slice(i, j)
e7e7156 — Peter John 2026-11-02T11:25:56+05:30
docs: simplify slices design to List views + zero-copy Str
f0da60c — Peter John 2026-11-02T11:22:40+05:30
docs: slices + List design (Option B, copying sub-slice append, error-union get)
6d21ab6 — Peter John 2026-11-02T10:51:33+05:30
refactor(std): no free functions; every std function is a static
a039616 — Peter John 2026-11-02T10:41:03+05:30
feat: a fun without self is a static; Type.f() and x.f() are checked
afc0334 — Peter John 2026-11-01T23:26:02+05:30
fix: bare generic type name inside its own methods compiles (applyOwnGenerics pre-pass)
3910d54 — Peter John 2026-11-01T23:19:05+05:30
test: restore coverage for 8 behaviors found uncovered after dedupe
a9d88ec — Peter John 2026-11-01T23:13:23+05:30
test: dedupe checker Rust tests (246 -> 61), rejection cases as table tests (146 rows)
e91520f — Peter John 2026-11-01T23:09:45+05:30
test: dedupe codegen Rust tests (152 -> 82); drop unused greetForInterpolationTest
d849deb — Peter John 2026-11-01T23:07:45+05:30
test: dedupe core/cli Rust tests (144 -> 106), table-driven formatter/loader cases
cfed449 — Peter John 2026-11-01T23:05:13+05:30
examples: one file per concept, visitors removed, game_loop added; duplicate Plum tests removed (434 -> 375)
b84196a — Peter John 2026-11-01T22:58:29+05:30
fix: reject == on functions and Unit
7a7fd58 — Peter John 2026-11-01T22:57:09+05:30
feat: Byte struct fields; assert report falls back without toStr; plum test runs only the named files' tests; MapPoint test moved out of std
cf9073a — Peter John 2026-11-01T22:49:06+05:30
perf: Map is an insertion-ordered open-addressing hash table (dense entries + probe index), grows at 75%
69bec11 — Peter John 2026-11-01T22:47:00+05:30
test: struct-of-arrays probe tests from review
609556f — Peter John 2026-11-01T22:44:34+05:30
perf: Array[struct] stored as struct-of-arrays (one native array per leaf), no per-element boxing
36d9946 — Peter John 2026-11-01T22:44:09+05:30
docs: README restructure - one owner per example/rule, types sections reordered
9cc75c2 — Peter John 2026-11-01T22:42:05+05:30
docs: merge duplicated README passages
25dce5c — Peter John 2026-11-01T22:39:21+05:30
docs/test: Array[T] value arrays are unboxed (i64/f64/i32); stale anyref comment fixed
f47709e — Peter John 2026-11-01T22:25:35+05:30
refactor: remove PlumType::TStr; Str is an ordinary named type
872454e — Peter John 2026-11-01T22:20:50+05:30
perf: bytesEqual intrinsic for Str.eq
35ca120 — Peter John 2026-11-01T22:18:05+05:30
refactor: Str + and == are ordinary Plum methods; concat/eq wasm helpers removed
d959708 — Peter John 2026-11-01T22:10:50+05:30
refactor: byteToStr in Plum; Int interpolation via Int.toStr; int_to_string wasm helper removed
3deb646 — Peter John 2026-11-01T22:02:52+05:30
refactor: Bool.parse and Bool.toStr live in primitive Bool; builtin Bool.toStr removed
b58be93 — Peter John 2026-11-01T21:53:58+05:30
docs(plans): progress log through Str/Json/Array follow-ups
1552a6c — Peter John 2026-11-01T21:53:58+05:30
test: Str edge cases from final review
142a4b5 — Peter John 2026-11-01T21:48:09+05:30
perf: Str wraps an exact-length []Byte directly (was Str{Buffer{arr,len}})
bfc8f08 — Peter John 2026-11-01T21:42:35+05:30
perf: Str methods linear loops; plain-string replace/replaceAll/search/deburr; drop regex stubs
dc1369f — Peter John 2026-11-01T21:39:34+05:30
perf: Json parser/escaper loops instead of per-char recursion; parseString returns Str
78eed27 — Peter John 2026-11-01T21:38:06+05:30
refactor: real CheckCtx field for primitive generics
cb2b505 — Peter John 2026-11-01T21:34:20+05:30
feat: annotated local declarations (name: Type := value)
3c73b0b — Peter John 2026-11-01T21:26:50+05:30
feat: Array[T] is a generic primitive, not a fake single-variant enum; legacy exemption removed
305282b — Peter John 2026-11-01T21:09:49+05:30
docs(plans): union enums Phase B done
4659312 — Peter John 2026-11-01T21:08:17+05:30
fix: member values fall back to their enum's methods
b61c94e — Peter John 2026-11-01T21:03:49+05:30
docs: dop_visitor header describes record members
fcb3865 — Peter John 2026-11-01T21:01:26+05:30
T9: drop Json legacy exemption
748850d — Peter John 2026-11-01T21:01:25+05:30
T9: Json + README
acc2f1f — Peter John 2026-11-01T20:55:22+05:30
fix: exhaustiveness through union member sub-patterns
401e713 — Peter John 2026-11-01T20:52:26+05:30
T8: migrate inline payload variants to record members; legacy syntax errors on
a1aafdc — Peter John 2026-11-01T20:48:14+05:30
T7 review: Bool is a builtin union member; unions + try/for/test regression tests
6580245 — Peter John 2026-11-01T20:41:46+05:30
T7: checker unions.rs (restorePlan, optional/err member wrap)
77038a2 — Peter John 2026-11-01T20:41:40+05:30
T7: pipeline wiring + e2e
ef6dc10 — Peter John 2026-11-01T20:34:39+05:30
T5 coerce test + T6 review fixes: narrowing pending scoped per && operand and per item, for-clause bind shadows
e9976f3 — Peter John 2026-11-01T20:34:14+05:30
T5: checker auto-dispatch
348b356 — Peter John 2026-11-01T20:32:18+05:30
fix: parser union tests use raw parse
d12d5e1 — Peter John 2026-11-01T20:31:54+05:30
T4/T6/T3-review: granted-file follow-ups (checker fixture, union_lower mod, review tests)
e02a80a — Peter John 2026-11-01T20:31:34+05:30
T6: applyPlan rewrite
8a21edd — Peter John 2026-11-01T20:31:34+05:30
T4: checker patterns + narrowing
7df4164 — Peter John 2026-11-01T18:28:00+05:30
T3: checker coercions
9568089 — Peter John 2026-11-01T18:24:18+05:30
T2: parseSource resolves union members
1ecfcf4 — Peter John 2026-11-01T18:24:09+05:30
T2: resolve + plan recorder
4b2d950 — Peter John 2026-11-01T18:21:30+05:30
T1: grammar + parser
019d1f0 — Peter John 2026-11-01T18:19:00+05:30
docs(plans): union enums Phase B machine plan
9336364 — Peter John 2026-11-01T17:39:18+05:30
docs(plans): struct/record Phase A done
4b9435d — Peter John 2026-11-01T17:37:29+05:30
T1: core syntax + lowering
141b67a — Peter John 2026-11-01T17:36:38+05:30
T3: record migration
8c874f6 — Peter John 2026-11-01T17:35:46+05:30
fix: lsp keywords and README snippet for struct/record
0c55384 — Peter John 2026-11-01T17:35:19+05:30
T2: tooling queries
2a01e74 — Peter John 2026-11-01T17:33:29+05:30
T1: core syntax + lowering
be00b92 — Peter John 2026-11-01T17:31:34+05:30
T4: README
c56df83 — Peter John 2026-11-01T17:31:34+05:30
docs(plans): struct/record + union enums review plan, Phase A machine plan
b960153 — Peter John 2026-11-01T17:15:42+05:30
docs(plans): review residuals done
69aa8c3 — Peter John 2026-11-01T17:14:13+05:30
fix: recovered call failures don't reposition errors; const-shaped patterns on non-enums rejected
8de89b9 — Peter John 2026-11-01T17:07:32+05:30
fix: digit type and variant names (E1, A1) parse
69225da — Peter John 2026-11-01T17:06:45+05:30
fix: checker errors point at the failing call, not the fn header
6270408 — Peter John 2026-11-01T17:04:10+05:30
fix: checker reports unknown methods on static consts
cfca60a — Peter John 2026-11-01T17:03:41+05:30
fix: name the file in positioned type errors
1a37013 — Peter John 2026-11-01T17:02:25+05:30
fix: positioned integer-literal overflow error
150ffe9 — Peter John 2026-11-01T16:47:05+05:30
docs(plans): map literal done — progress, rulings, incidents
5887f56 — Peter John 2026-11-01T16:43:44+05:30
T1: review — assert desugared Pair call carries the pair's position
00caf49 — Peter John 2026-11-01T16:43:14+05:30
T3: Map("a" => 1) examples + README
3f6f3f5 — Peter John 2026-11-01T16:41:53+05:30
T1: pair syntax + desugar — `k => v` is sugar for Pair(k, v), any key expression
c3ccbc9 — Peter John 2026-11-01T16:39:48+05:30
T2: review — negative Int keys + duplicates regression test
8ef7e9a — Peter John 2026-11-01T16:38:57+05:30
T2: Map.init variadic
11faab6 — Peter John 2026-11-01T16:38:57+05:30
docs(plans): map literal constructor plan
b0d445d — Peter John 2026-11-01T16:31:14+05:30
docs(plans): review residuals plan (approved)
287a0ad — Peter John 2026-11-01T16:23:21+05:30
fix: optional reassign/field-store coercion, reject optional==value, keep literal-overflow errors through the loader merge
cdcccba — Peter John 2026-11-01T16:04:55+05:30
feat: pattern if (if/else if/while/inline with Pattern := expr, guards)
d60eb64 — Peter John 2026-11-01T15:46:48+05:30
docs(plans): pattern if
429d331 — Peter John 2026-11-01T15:46:37+05:30
chore: remove .recall session history
c8e9c42 — Peter John 2026-10-30T19:20:30+05:30
docs: refresh README, plans and example descriptions for current language
b911c78 — Peter John 2026-10-27T20:03:29+05:30
feat!: optionals (null, ?:, if/while binding), try prefix replaces postfix ?, literal overflow error
bb358d8 — Peter John 2026-10-27T18:10:58+05:30
docs(plans): optionals (null, ?:, if/while binding), try prefix, literal overflow fix
1c1bfe8 — Peter John 2026-10-27T18:10:16+05:30
feat!: primitive namespaces and built-in APIs, associated consts and statics, Number removed
bc54190 — Peter John 2026-10-27T17:49:04+05:30
docs(plans): primitive namespaces/built-in APIs, associated consts, Number removed
ff759b0 — Peter John 2026-10-27T17:48:08+05:30
chore: audit docs, comments and editor support against the current language
6463f46 — Peter John 2026-10-27T12:20:32+05:30
fix: catch return error.X instead of a special catch-default rule; unique catch binders
ed902fe — Peter John 2026-10-27T12:08:07+05:30
feat!: error.Name values, error sets (error X = A | B, X!T), fail removed
f4469d9 — Peter John 2026-10-27T11:44:39+05:30
docs(plans): error-sets plan approved
d03136b — Peter John 2026-10-27T11:17:47+05:30
docs(plans): Zig error values/sets — error.Name, return, error X = A | B, X!T
4b3b2c3 — Peter John 2026-10-27T10:39:59+05:30
feat!: inline if expression replaces the ternary; postfix ? binds tight
0dc0e16 — Peter John 2026-10-27T00:48:57+05:30
fix: error sets don't split GC types; match arms must be in the error set
745232b — Peter John 2026-10-27T00:41:32+05:30
fix(errors): fail Missing is the absent value in a T? slot; nested error unions as success values
1636946 — Peter John 2026-10-27T00:23:30+05:30
feat!: Zig-style errors, step E4: migrate std/examples/docs/tests, delete Try/tag unions/payload tags/??/? |e|; T? is !T [Missing]; fail/? file path in AST
a8f2482 — Peter John 2026-10-26T23:46:13+05:30
feat(codegen): Zig-style error unions: !T multi-value lowering, fail/?/!/catch/?., boxed heap slots, nullable interop
5b4ec0a — Peter John 2026-10-26T22:05:21+05:30
feat(checker): Zig-style error unions: !T sets, fail/catch/?/!, error-set inference; unambiguous pinned-set syntax
405c23f — Peter John 2026-10-26T21:52:27+05:30
feat!: lowercase true/false bool literals; True/False removed
0240835 — Peter John 2026-10-26T21:44:49+05:30
feat(syntax): Zig-style errors grammar: !T, postfix !, catch, fail; remove legacy syntax hints
958912f — Peter John 2026-10-26T21:44:47+05:30
docs(plans): task B — lowercase true/false literals
8f886ad — Peter John 2026-10-26T21:37:55+05:30
docs(plans): no hints for obsolete syntax; migrate everything in E4
7b55840 — Peter John 2026-10-26T21:32:19+05:30
feat!: every for is 'for x := range src'; Int.until/to/downTo replace global range
1d27d50 — Peter John 2026-10-26T21:25:42+05:30
docs(plans): pre-task R uses Go-style for x := range src
0aa74fb — Peter John 2026-10-26T21:20:45+05:30
docs(editors): iteration cheat sheet, value enum docs; highlight/LSP for for/extend/Seq
06dbe56 — Peter John 2026-10-26T21:20:19+05:30
docs(plans): pre-task R — n.times()/a.until(b)/to/downTo replace range
b0ca30b — Peter John 2026-10-26T21:14:16+05:30
docs(plans): Zig-style errors — ?, !, catch, fail; no tag unions or Try
8e2c15f — Peter John 2026-10-26T21:08:46+05:30
feat!: typed for lowering, fun* methods, entries(), extend, Seq[T]
378ab1a — Peter John 2026-10-26T20:31:02+05:30
refactor(std): drop closure iteration methods from List and Map
72527fb — Peter John 2026-10-26T20:20:49+05:30
refactor: move range into std/Iter, delete std/Range
ec115b0 — Peter John 2026-10-26T18:56:27+05:30
fix: stateful host RNG; evaluate assert operands once in test blocks
fa26fde — Peter John 2026-10-26T18:47:39+05:30
fix(editors): highlight value/extern in VS Code; complete value in LSP
966bdab — Peter John 2026-10-26T16:22:27+05:30
docs(plans): zig-generics build log
2dd6150 — Peter John 2026-10-26T16:13:11+05:30
feat!: fun* iterators with *T and yield; closure-free chaining; range in std
523050a — Peter John 2026-10-26T15:52:51+05:30
docs(plans): T9 addendum — *T sequence params and closure-free chaining
094fd48 — Peter John 2026-10-26T15:41:36+05:30
docs(plans): T9 fun* iterators with *T and yield; range moves to std
3ca3f26 — Peter John 2026-10-26T15:41:35+05:30
fix: branch review fixes for generics, forms and auto-wrap
d6ce6f6 — Peter John 2026-10-26T15:17:15+05:30
fix(lsp): handle block param types in local var inference
081a24a — Peter John 2026-10-26T15:17:02+05:30
feat: inline fun for-forms with block params; std Iter forms; guard fix
f359218 — Peter John 2026-10-26T15:00:09+05:30
feat: for <binders> := <source>, <clauses> with plain iteration
80110ec — Peter John 2026-10-26T14:46:23+05:30
test(loader): fix duplicate const fixtures
54233aa — Peter John 2026-10-26T14:44:33+05:30
feat(loader): clear error for duplicate top-level constants with both locations
85ed0b1 — Peter John 2026-10-26T14:41:12+05:30
fix: fn-field nested call args, heap-valued consts, value-enum nested patterns and field assign through heap fields
5308f5f — Peter John 2026-10-26T14:38:28+05:30
docs(plans): T8 = for x := form(...) iteration forms + inline user forms
8d065f8 — Peter John 2026-10-26T14:29:07+05:30
feat: value enum — single-constructor, copy-semantics value types
99f93a2 — Peter John 2026-10-26T14:25:58+05:30
docs(plans): T8 on hold pending user approval
1de3be3 — Peter John 2026-10-26T14:09:33+05:30
feat(std): Array.filled, Grid, Set, Deque, Heap, seeded Random; typed consts
12fd11a — Peter John 2026-10-26T14:00:20+05:30
feat: T ! [A, B] error sugar, T? nullable sugar, auto Ok/Err wrapping
743bd76 — Peter John 2026-10-26T13:53:37+05:30
docs(plans): queue T8 near-free closures (inline non-escaping literals)
b952f81 — Peter John 2026-10-26T13:41:57+05:30
feat: fn-typed enum fields (record of functions); closures capture called fn params
2485578 — Peter John 2026-10-26T12:19:51+05:30
docs(plans): T7 adds T ! [A, B] error sugar with auto Ok/Err wrapping
6929b8b — Peter John 2026-10-26T12:14:31+05:30
docs(plans): queue T7 nullable sugar T? = Try[T, [Missing]]
ad8b044 — Peter John 2026-10-26T12:13:42+05:30
feat: duck-typed operators; README for Zig-style generics; results
774e6d8 — Peter John 2026-10-26T12:11:35+05:30
docs(plans): value types are a single-constructor value enum, not a struct keyword
f1d676e — Peter John 2026-10-26T12:04:14+05:30
feat!: remove traits, generic bounds and the boxed/typeId runtime
0c02603 — Peter John 2026-10-26T11:48:56+05:30
fix(checker): strict missing methods on builtin receivers; exact call sites
3f7586e — Peter John 2026-10-26T11:44:55+05:30
feat(codegen)!: one compiled copy per generic instantiation, unboxed
a261b90 — Peter John 2026-10-26T11:15:58+05:30
feat(checker): duck-typed generics checked per instantiation
ac67871 — Peter John 2026-10-26T11:04:01+05:30
feat: narrow Int to i32 at extern boundaries; remove Bool.plum
b7a5ee8 — Peter John 2026-10-26T10:54:33+05:30
docs(plans): zig-generics plan approved to run
1164924 — Peter John 2026-10-26T10:52:35+05:30
docs(plans): fix wasm i32 wording in game plan
74c9190 — Peter John 2026-10-26T10:52:24+05:30
docs(plans): keep Int/Float as i64/f64; narrow Int to i32 at extern boundaries
34b61a0 — Peter John 2026-10-26T10:45:12+05:30
docs(plans): game plan becomes browser-first simplified KaM port
bbcbddc — Peter John 2026-10-26T10:38:51+05:30
docs(plans): native lowercase wasm types only (i32/i64/f32/f64/bool), Bytes for packed storage
d115ac5 — Peter John 2026-10-26T10:34:33+05:30
docs(plans): mark game plan T1/T4 superseded
bf5c846 — Peter John 2026-10-26T10:34:24+05:30
docs(plans): draft Zig-style generics + sized numbers plan; link from game plan
09f6b34 — Peter John 2026-10-26T10:24:18+05:30
docs(plans): draft game engine plan (macroquad host, sized numbers, structs, SIMD)
b3bb7b5 — Peter John 2026-10-26T10:24:18+05:30
feat!: Bool is a built-in i32 primitive
2dcaa4b — Peter John 2026-10-26T10:10:57+05:30
docs(plans): erased-generics build log
eb7b5d4 — Peter John 2026-10-26T10:10:01+05:30
test: permanent erased-generics probes; drop stale monomorphization comments
16cd722 — Peter John 2026-10-26T10:06:07+05:30
docs: how generics compile (erasure, boxing at edges, dyn traits); results
7d25f15 — Peter John 2026-10-26T10:03:07+05:30
refactor!: delete the monomorphizer; List on Array; reject bare generic types
55dceee — Peter John 2026-10-25T22:50:52+05:30
feat(codegen)!: compile erased generics; stop monomorphizing
6c41056 — Peter John 2026-10-25T19:30:30+05:30
feat: trait names as types with typeId-header dyn dispatch
9fbf75a — Peter John 2026-10-25T19:14:57+05:30
fix(checker): reject generic T returned as a concrete type; resolve typedSource vars
eaf49cb — Peter John 2026-10-25T19:10:46+05:30
feat(checker): check generics structurally on the original source; add typedSource
dd5f31d — Peter John 2026-10-25T18:54:12+05:30
feat(checker): structural TApp/TParam types with substitute/instantiate
cf9e06f — Peter John 2026-10-25T17:43:07+05:30
fix(checker): enforce enum variant exhaustiveness in match (recursive through payloads)
b5abd9a — Peter John 2026-10-25T17:31:17+05:30
docs(readme): handling errors with match, crashing and safe navigation sections
45a1469 — Peter John 2026-10-25T17:31:17+05:30
fix(checker): enforce tag exhaustiveness inside variant payloads (Err(Tag) arms)
09d918f — Peter John 2026-10-25T17:27:30+05:30
docs(examples): multi-branch match error handling in error_propagation
4ac8d64 — Peter John 2026-10-25T17:25:35+05:30
docs(examples): replace Option-like example enums with Parcel/Reading
811569c — Peter John 2026-10-25T16:57:29+05:30
docs(plans): Roc-style error handling design, plan and build log
d94bce0 — Peter John 2026-10-25T16:57:08+05:30
fix(codegen): Try/?? wording in error messages; add numeric/deep/state probes
6e346ab — Peter John 2026-10-25T16:50:16+05:30
chore: drop stale Option/Result references from comments and tests
f0eddab — Peter John 2026-10-25T16:45:02+05:30
fix(checker): resolve Ok/Err args from the expected type; tags win over same-named variants
82b552d — Peter John 2026-10-25T16:30:41+05:30
docs(examples): migrate examples, LSP, editor syntax and README to Try + tags
a3ab768 — Peter John 2026-10-25T16:25:50+05:30
fix(monomorphize): resolve a closure's own generic from cb's declared return
dc3b104 — Peter John 2026-10-25T16:22:25+05:30
fix(syntax): elvis binds tighter than comparison; accept _ closure params
45dada4 — Peter John 2026-10-25T16:17:50+05:30
feat(std)!: replace Option/Result with Try and structural error tags
0f2502c — Peter John 2026-10-25T16:08:43+05:30
feat(hosts): link plum::crash host import (prints to stderr, then traps)
8336a15 — Peter John 2026-10-25T16:08:35+05:30
fix(codegen): crash import detection ignores string literals; add tag probe tests
29ad747 — Peter John 2026-10-25T16:06:45+05:30
feat(codegen): $Tag runtime representation, tag patterns, ? rewrap, crash import
f9467e7 — Peter John 2026-10-25T16:02:16+05:30
fix(checker): refutable payload patterns don't cover a tag in exhaustiveness
9c5f64a — Peter John 2026-10-25T16:00:23+05:30
feat(checker): structural tag-union types and Roc-style ? checking
dfe35c7 — Peter John 2026-10-25T15:56:39+05:30
feat(syntax): tag-union types, ?? default, crash stmt, ? |e| error mapping
a473b02 — Peter John 2026-09-18T11:05:35+05:30
build: add release binary tooling (cross, R2 upload, versioned README links)
6fc9e6d — Peter John 2026-09-11T19:23:58+05:30
feat: add plum-lsp language server with diagnostics and completion
ce5dd16 — Peter John 2026-09-08T19:12:41+05:30
docs(examples): drop unnecessary braces from numeric literal method calls
43e5250 — Peter John 2026-09-08T15:22:00+05:30
feat: add Groovy/Kotlin-style safe navigation operator (?.)
b5f5be1 — Peter John 2026-09-08T15:03:28+05:30
feat(cli): fix stale Helix grammar path and embed a precompiled grammar .so
2236941 — Peter John 2026-09-08T14:18:04+05:30
docs: add plum CLI install instructions to README
900c685 — Peter John 2026-09-08T13:24:28+05:30
docs(editor): update README and VSCode syntax for type removal + new operators
ec5336f — Peter John 2026-09-08T13:13:12+05:30
feat(lang): add elvis `?:` operator
af1776b — Peter John 2026-09-08T12:57:14+05:30
feat(lang): add postfix `?` error-propagation operator
5f2f962 — Peter John 2026-09-08T12:01:22+05:30
feat(lang): remove type/class entirely, enum is the only declaration form
6e5d12f — Peter John 2026-09-07T15:28:24+05:30
fix(http): rebuild emptyHeaders on Map's real init(), not its old fields
13507fa — Peter John 2026-09-07T15:28:19+05:30
feat(class/enum): mutable fields + Gleam-style spread update
f13d4c2 — Peter John 2026-09-07T10:30:59+05:30
fix: repair binary literals corrupted in plum-examples/basics.plum
984357b — Peter John 2026-09-05T21:35:44+05:30
rename folders
ca5fd6f — Peter John 2026-09-05T21:28:50+05:30
feat(number): add Number enum, migrate Int/Float methods, fix Float interpolation
b1c3ec8 — Peter John 2026-09-05T15:21:03+05:30
improve enum
29313cb — Peter John 2026-09-05T13:28:55+05:30
refactor(stdlib): move libs/std to top-level plum-std, gate Int/Float/Str imports
61ab95d — Peter John 2026-09-04T21:39:53+05:30
docs: trim README to a concise language feature tour
b548244 — Peter John 2026-09-04T21:34:47+05:30
fix(format): preserve blank lines in class/enum bodies, closure body spacing
287b97c — Peter John 2026-09-04T21:23:50+05:30
feat(plum): reserve brackets for generics, enum variant payloads use parens
5e995b7 — Peter John 2026-09-04T21:13:18+05:30
docs: reformat README code blocks to match real plum format output
cc77764 — Peter John 2026-09-04T20:55:50+05:30
docs: update README for Bool/Str import-gating and stdlib additions
98bcd99 — Peter John 2026-09-04T20:50:43+05:30
chore: fix stale Bool/Str doc comments and test fixture breakage
a968899 — Peter John 2026-09-04T20:46:39+05:30
remove website
c0bab65 — Peter John 2026-09-04T20:45:40+05:30
remove test
b79d463 — Peter John 2026-09-04T20:44:49+05:30
remove docs
73b5e55 — Peter John 2026-09-04T20:39:27+05:30
feat(plum): make Bool an ordinary import-gated enum, no hardcoded prelude
b7071c9 — Peter John 2026-09-04T19:42:10+05:30
refactor(libs/std): rename files to match their primary class name
73e4ff1 — Peter John 2026-09-04T19:31:38+05:30
feat(plum): make Str a real class instead of a special-cased primitive
ea9b8c1 — Peter John 2026-09-04T17:05:20+05:30
feat(plum): add generic Array[T] primitive, rewrite Map as a real hash table
8de13fd — Peter John 2026-09-04T15:54:32+05:30
feat(plum-core): enforce imports-first, tests-grouped-last file ordering
3e580db — Peter John 2026-09-04T15:54:25+05:30
feat(examples): convert dop_visitor to enum syntax, add OOP trait counterpart
9682cec — Peter John 2026-09-04T15:12:26+05:30
feat(plum-cli): colored test output, actual/expected values on failure
a9a0147 — Peter John 2026-09-04T14:56:44+05:30
feat(plum): remove expect, unify on assert, Spock-style test tree output
3a2119e — Peter John 2026-09-04T14:06:41+05:30
feat(plum): named enum variant fields, self-methods on enums/classes, inline match formatting
a577529 — Peter John 2026-09-03T20:39:58+05:30
feat(plum): let match destructure a plain class like an enum variant
710607b — Peter John 2026-09-03T20:20:17+05:30
refactor(libs/std): move Duration's unit constructors to static methods
bf629a2 — Peter John 2026-09-03T19:47:08+05:30
feat(plum): trait conformance checking, Stringable->ToStr, finish str.plum
4a2384c — Peter John 2026-09-03T19:08:24+05:30
feat(plum): class init() constructors, bare-variant enum sugar, match guards
04d2270 — Peter John 2026-09-03T15:31:57+05:30
fix(tree-sitter-plum): a ternary as a closure's inline body now parses correctly
accb2b1 — Peter John 2026-09-03T14:49:22+05:30
fix(plum-checker): substitute a generic method's own extra generics in its body; ship Map.map
5a9e763 — Peter John 2026-09-03T14:25:26+05:30
feat(libs/std): ship List.chunk/partition; add List.toStr; root-cause the last self-nesting bug
cde99bd — Peter John 2026-09-03T14:06:30+05:30
fix(plum-checker): stop the self-nesting generic-method stack overflow
c4ee6ec — Peter John 2026-09-02T21:21:38+05:30
test(libs/std): add Map test coverage; document two new compiler gaps found attempting Map.map
2ec05c8 — Peter John 2026-09-02T19:57:50+05:30
feat(libs/std): complete os/time/uuid, add Option/Result generics; fix several monomorphization/parser bugs
a43f3af — Peter John 2026-08-29T17:12:19+05:30
improvements
a271f34 — Peter John 2026-08-27T19:20:16+05:30
improvements
ecd2178 — Peter John 2026-08-10T13:23:00+05:30
docs: update README known-gaps and close out wasm-gc migration plan
02b3582 — Peter John 2026-08-10T13:20:39+05:30
feat(libs/std): implement List's add/set/removeAt/remove/clear/reverse on wasm-gc
0e39618 — Peter John 2026-08-10T12:51:35+05:30
feat(plum-wasm-codegen): migrate structs, enums, strings, and closures to wasm-gc
5ef4579 — Peter John 2026-08-10T11:10:35+05:30
feat(plum-wasm-codegen): add wasm-gc type-section emitter (unconsumed) and GC-enabled test Engine
408b9c0 — Peter John 2026-08-10T10:25:26+05:30
test: add scripts/test-examples.sh, an end-to-end examples smoke test
ab7ef72 — Peter John 2026-08-10T10:23:59+05:30
fix(tooling): update VSCode TextMate grammar for fun keyword, drop dead <Receiver> pattern
c5fd1a5 — Peter John 2026-08-10T10:19:06+05:30
fix(examples): remove basics.plum's unused, nonexistent 'std/io' import
3d6f280 — Peter John 2026-08-09T22:04:58+05:30
style: rename all Rust function/method names from snake_case to camelCase
508207a — Peter John 2026-08-09T21:58:44+05:30
style(libs/std): rename camelCase params to snake_case (os.plum, http.plum)
7056de2 — Peter John 2026-08-09T21:15:39+05:30
test(plum-checker): fix remaining <Receiver>-syntax test fixtures missed in the sweep
41e0859 — Peter John 2026-08-09T21:12:47+05:30
docs: update methods section for nested-only method declaration syntax
58b01fc — Peter John 2026-08-09T21:11:35+05:30
feat(libs/std): migrate remaining stdlib methods off <Receiver> syntax
805d96d — Peter John 2026-08-09T21:07:14+05:30
test: migrate plum-checker/plum-wasm-codegen fixtures off <Receiver> syntax
2b8194c — Peter John 2026-08-09T21:03:00+05:30
refactor(plum-core): drop dead receiver-vs-return-type disambiguation from parse_fn
6b5d9db — Peter John 2026-08-09T21:01:06+05:30
feat(grammar): remove top-level <Receiver> method annotation syntax
d2640d2 — Peter John 2026-08-09T19:04:08+05:30
feat(plum-wasm-codegen): compile enum discriminant-value construction and field access
4fda634 — Peter John 2026-08-09T18:54:49+05:30
feat(plum-checker): validate enum discriminant values, enable field access on them
fbfbd7b — Peter John 2026-08-09T18:47:56+05:30
feat(plum-core): parse enum discriminant-value declarations
8554271 — Peter John 2026-08-09T18:45:49+05:30
feat(grammar): add enum discriminant-value declarations
9d5550e — Peter John 2026-08-09T18:44:04+05:30
test: confirm nested type/enum methods behave identically to top-level ones
4df1312 — Peter John 2026-08-09T18:38:33+05:30
feat(plum-core): lift nested type/enum methods into top-level Fn items
f047082 — Peter John 2026-08-09T18:37:28+05:30
feat(grammar): allow methods nested inside type/enum bodies
b48d3a3 — Peter John 2026-08-09T18:35:29+05:30
test: migrate embedded plum fixtures to `fun` keyword syntax
0fe3528 — Peter John 2026-08-09T18:35:27+05:30
feat(libs/std,examples,test): migrate to `fun`-prefixed function syntax
c06ddba — Peter John 2026-08-09T18:35:20+05:30
feat(grammar): add `fun` keyword to function/method declarations
22e190c — Peter John 2026-07-25T16:06:12+05:30
docs: add design spec for wasm-gc migration in codegen
3971d41 — Peter John 2026-07-25T13:26:27+05:30
remove stuff
608d862 — Peter John 2026-07-24T12:38:06+05:30
feat(grammar): add subject-less guard-clause match arms
9b6a86a — Peter John 2026-07-24T12:31:23+05:30
docs: add implementation plan for nested method declarations
cb48db9 — Peter John 2026-07-24T12:30:18+05:30
docs: add implementation plan for enum discriminant values
1bc8c44 — Peter John 2026-07-24T12:26:46+05:30
docs: add implementation plan for guard-clause match arms
c664d4f — Peter John 2026-07-24T12:22:08+05:30
docs: add design specs for enum discriminant values and nested methods
c3f68dd — Peter John 2026-07-24T12:05:52+05:30
docs: add design spec for guard-clause match arms
0bb6882 — Peter John 2026-07-24T11:49:51+05:30
feat(examples): migrate types.plum, functions.plum, match.plum generics to bracket syntax
f92e171 — Peter John 2026-07-24T11:45:33+05:30
feat(libs/std): migrate stdlib generics to bracket syntax
d958617 — Peter John 2026-07-24T11:41:06+05:30
test(plum-wasm-codegen): migrate test fixtures to bracket generics syntax
30ae945 — Peter John 2026-07-24T11:36:01+05:30
test(plum-checker): migrate test fixtures to bracket generics syntax
a2eaba8 — Peter John 2026-07-24T11:27:40+05:30
feat(plum-checker,plum-wasm-codegen): recognize uppercase generic params, use Type instead of ReturnType
0d64aff — Peter John 2026-07-24T11:23:34+05:30
fix(plum-core): derive trait method return type from type-kind child, not the wrong 'returns' field
2ccae10 — Peter John 2026-07-24T11:18:44+05:30
fix(plum-core): stop return type from being mistaken for method receiver
be16cd8 — Peter John 2026-07-24T11:09:03+05:30
feat(plum-core): parse bracket generics, drop ReturnType in favor of Type
8f91d27 — Peter John 2026-07-24T11:03:43+05:30
feat(grammar): migrate generics to bracket syntax with uppercase letters
13fd165 — Peter John 2026-07-24T10:46:43+05:30
docs: add implementation plan for bracket generics syntax migration
4079c0e — Peter John 2026-07-24T10:27:49+05:30
docs: add design spec for bracket generics syntax migration
18c860c — Peter John 2026-07-24T07:42:28+05:30
docs: add implementation plan for wiring up List's methods
abb8959 — Peter John 2026-07-24T07:39:14+05:30
docs: note List() explicit-fields fix in list-methods spec
0ec0f63 — Peter John 2026-07-24T07:36:45+05:30
docs: add design spec for wiring up List's remaining methods
5a9d357 — Peter John 2026-07-23T21:32:31+05:30
docs: cross-file import resolution is no longer a known gap
4670182 — Peter John 2026-07-23T21:30:47+05:30
fix(libs/std): list.plum imports std/option instead of relying on unresolved cross-file references
1a9a65c — Peter John 2026-07-23T21:27:56+05:30
feat(plum-cli): resolve import via --lib-path using the new loader
8a7f6ad — Peter John 2026-07-23T21:23:15+05:30
feat(plum-core): add load_and_merge cross-file import loader
2172082 — Peter John 2026-07-23T21:09:28+05:30
docs: correct cross-file-imports spec scope; add implementation plan
6dfb06a — Peter John 2026-07-23T20:40:37+05:30
docs: add design spec for cross-file import resolution
8b7c249 — Peter John 2026-07-23T20:10:28+05:30
docs: variadic parameters are no longer a known gap
da1c377 — Peter John 2026-07-23T20:06:30+05:30
feat(plum-wasm-codegen): compile for-v-in-variadic-param iteration
d6b1f95 — Peter John 2026-07-23T19:57:54+05:30
feat(plum-wasm-codegen): compile variadic call sites into a length-prefixed buffer
4a494a8 — Peter John 2026-07-23T19:52:22+05:30
feat(plum-checker): type-check variadic call arity and for-in-variadic iteration
d0981fb — Peter John 2026-07-23T19:47:56+05:30
feat(plum-checker,plum-wasm-codegen): add PlumType::TVariadic representation
515004d — Peter John 2026-07-23T19:45:10+05:30
docs: add implementation plan for variadic parameters
64b1d3c — Peter John 2026-07-23T19:33:45+05:30
docs: add design spec for variadic parameters
7aa55a8 — Peter John 2026-07-23T18:59:50+05:30
docs: field/attribute assignment is no longer a known gap
01f9be3 — Peter John 2026-07-23T18:56:23+05:30
feat(plum-wasm-codegen): compile obj.field = value assignment targets
47abc49 — Peter John 2026-07-23T18:50:33+05:30
feat(plum-checker): type-check obj.field assignment targets
3d79c9f — Peter John 2026-07-23T18:45:42+05:30
feat(plum-core): parse obj.field assignment targets into AssignTarget::Field
391c8e4 — Peter John 2026-07-23T18:41:41+05:30
feat(tree-sitter-plum): add field_target rule for obj.field = value assignment
0750af7 — Peter John 2026-07-23T18:10:53+05:30
docs: add implementation plan for field/attribute assignment targets
aa52629 — Peter John 2026-07-23T18:04:17+05:30
docs: add design spec for field/attribute assignment targets
35af6cf — Peter John 2026-07-23T17:55:25+05:30
feat: close closures/match/interpolation known gaps in codegen
ab4f826 — Peter John 2026-07-21T10:53:09+05:30
fix editor
8eeb785 — Peter John 2026-07-21T10:20:44+05:30
fix editor
141de54 — Peter John 2026-07-21T10:13:36+05:30
fix
09bd581 — Peter John 2026-07-21T02:00:46+05:30
docs: note nested-closure limitation in Known Gaps
6341c74 — Peter John 2026-07-21T00:12:38+05:30
docs+test: closures complete; add example and update README
4ba0db3 — Peter John 2026-07-20T22:22:15+05:30
feat(plum-wasm-codegen): compile closure literals and closure calls via a function table
db00bd9 — Peter John 2026-07-20T21:52:28+05:30
feat(plum-wasm-codegen): add wasm function table + element section support
d1ea2ff — Peter John 2026-07-20T21:46:46+05:30
feat(plum-checker): infer closure literal types; type-check fn(...)-typed params
d7e5ff4 — Peter John 2026-07-20T21:40:35+05:30
feat(plum-core): parse closure literals and fn(...) type annotations
906b92e — Peter John 2026-07-20T21:29:37+05:30
feat(tree-sitter-plum): wire closure literals into expression position; add fn(...) type syntax
038eebd — Peter John 2026-07-20T21:25:13+05:30
docs: add implementation plan for closures
83ce3b8 — Peter John 2026-07-20T21:19:28+05:30
docs: scope closures spec to ordinary-argument call syntax, not trailing-closure
4f1f2b6 — Peter John 2026-07-20T21:06:10+05:30
docs: add design spec for closures
b6a9042 — Peter John 2026-07-20T20:16:17+05:30
test(plum-wasm-codegen): cover same bare-generic-enum-param function at multiple instantiations
2216237 — Peter John 2026-07-20T20:11:29+05:30
feat(plum-checker): support multiple concrete instantiations of the same generic enum
e698d53 — Peter John 2026-07-20T20:06:27+05:30
docs: revise generic-enum plan with bare-generic-typed-param fix as Task 1
84e946f — Peter John 2026-07-20T20:03:11+05:30
docs: amend generic-enum spec with bare-generic-typed-param fix
aedebc1 — Peter John 2026-07-20T19:28:05+05:30
docs: add implementation plan for generic-enum multi-instantiation
32da118 — Peter John 2026-07-20T19:07:02+05:30
docs: add design spec for generic-enum multi-instantiation support
6613e6d — Peter John 2026-07-20T16:32:34+05:30
test(plum-checker): mark slow recursion-guard test as ignored by default
2e28ecc — Peter John 2026-07-20T16:22:48+05:30
test+docs: generics monomorphization complete; extend examples, update known gaps
c273ea5 — Peter John 2026-07-20T16:01:25+05:30
fix(plum-checker): stop masking type errors in specializations; resolve generic enum instantiation
22140cf — Peter John 2026-07-20T15:43:06+05:30
feat(plum-checker): monomorphize generic classes/functions/methods/enums before checking and codegen
1b220d2 — Peter John 2026-07-20T15:24:15+05:30
feat(plum-checker): core generics specialization primitives
34f159a — Peter John 2026-07-20T15:14:56+05:30
docs: add implementation plan for generics monomorphization
a10644c — Peter John 2026-07-20T15:07:50+05:30
docs: extend generics monomorphization spec to cover generic enums
ea186e4 — Peter John 2026-07-20T14:59:56+05:30
docs: add design spec for generics monomorphization
f1e33d7 — Peter John 2026-07-20T13:40:09+05:30
docs: add implementation plan for tail-position and grammar gap fixes
87b54a9 — Peter John 2026-07-20T13:33:14+05:30
docs+test: restore examples/match.plum to idiomatic bare-tail style; tail-position gap fixed
3254688 — Peter John 2026-07-20T13:27:12+05:30
fix(plum-wasm-codegen): propagate a value through tail-position match/if without explicit return
aeaba6f — Peter John 2026-07-20T13:13:45+05:30
fix(tree-sitter-plum): allow a full expression as a body's trailing statement
1ccf9bd — Peter John 2026-07-20T12:59:58+05:30
docs: add design spec for grammar trailing-statement and tail-position gaps
42d88a3 — Peter John 2026-07-20T12:15:01+05:30
fix(plum-checker): reject a name declared as both a class and an enum variant
5e131a3 — Peter John 2026-07-20T12:14:54+05:30
fix(plum-wasm-codegen): guard constructor-pattern match against payload-free sibling values
3fc279f — Peter John 2026-07-20T12:04:10+05:30
docs: note tail-position match/if return-value gap in Known Gaps
fe36a46 — Peter John 2026-07-20T12:01:31+05:30
docs+test: general enum support is complete; update known gaps and example
8ecbf56 — Peter John 2026-07-20T11:47:23+05:30
feat(plum-wasm-codegen): compile general enum match patterns (tags + constructors)
380a51c — Peter John 2026-07-20T11:43:17+05:30
feat(plum-wasm-codegen): compile general enum variant construction
0c09f5d — Peter John 2026-07-20T11:38:04+05:30
fix(plum-checker): rewrite bare_enum_tag test to avoid unrelated grammar limitation
7ac1d37 — Peter John 2026-07-20T11:33:47+05:30
feat(plum-checker): general enum variant tags, field types, and construction checks
a65c75b — Peter John 2026-07-20T11:25:34+05:30
fix(tree-sitter-plum): document fn_argument_list/class_argument_list conflict rationale
96ec67f — Peter John 2026-07-20T11:22:20+05:30
feat(tree-sitter-plum): allow positional variant-construction calls
2cee306 — Peter John 2026-07-19T22:34:02+05:30
docs: add implementation plan for general enum support
6a8cfe6 — Peter John 2026-07-19T22:25:02+05:30
docs: add design spec for general enum support in checker/codegen
660674c — Peter John 2026-07-19T22:17:37+05:30
fix(tree-sitter-plum): remove Nil/try/except, allow inline match bodies
222801d — Peter John 2026-07-19T22:03:42+05:30
docs: document the currently-implemented language syntax in README
0e1801a — Peter John 2026-07-19T21:52:28+05:30
test: add example programs covering the language's current syntax
12537c4 — Peter John 2026-07-19T21:52:11+05:30
fix(plum-wasm-codegen): assert/todo trap, tail-position If also diverges
5d8ada1 — Peter John 2026-07-19T21:40:57+05:30
feat(plum-wasm-codegen): class/method codegen, strings, match lowering
d1a4183 — Peter John 2026-07-19T21:40:36+05:30
feat(plum-checker): class/method/self/match type checking
f502d22 — Peter John 2026-07-19T21:40:20+05:30
fix(tree-sitter-plum): fix match/generics/identifier/attribute grammar bugs
1e3672d — Peter John 2026-07-19T19:37:07+05:30
fix: address code review findings — bool literals, export policy, test hardening
50effc5 — Peter John 2026-07-19T19:31:02+05:30
feat(plum-cli): add compile subcommand wiring checker and codegen
e71210a — Peter John 2026-07-19T19:27:47+05:30
test(plum-wasm-codegen): add factorial and give42 codegen tests
bb8ca38 — Peter John 2026-07-19T19:25:17+05:30
feat(plum-wasm-codegen): implement WasmModule, CompileCtx and compile_source
729d7cb — Peter John 2026-07-19T19:17:31+05:30
test(plum-checker): add error-case tests for type checker
7c8e1b1 — Peter John 2026-07-19T19:15:29+05:30
fix(plum-checker): use plum_type_from_ast for return type in first pass
30f1008 — Peter John 2026-07-19T19:14:09+05:30
feat(plum-checker): implement type checker with unification
03e5a61 — Peter John 2026-07-19T19:11:09+05:30
feat(plum-checker): add type definitions
1daab8d — Peter John 2026-07-19T19:09:16+05:30
chore: scaffold plum-checker and plum-wasm-codegen crates
58682e1 — Peter John 2026-07-19T18:59:30+05:30
docs: add wasm codegen + type checker implementation plan
78b9e89 — Peter John 2026-07-19T18:52:54+05:30
docs: add wasm codegen + type checker design spec
62ecfff — Peter John 2026-07-19T17:43:01+05:30
fix: restore | operator spacing, add format_source_with_opts, reject --stdin --check
c465715 — Peter John 2026-07-19T17:38:56+05:30
chore: remove old root src/ after workspace migration
cca230e — Peter John 2026-07-19T17:36:59+05:30
feat: add plum-cli binary with format subcommand
35bca24 — Peter John 2026-07-19T17:34:24+05:30
test: add integration tests for format_source
7bbcc54 — Peter John 2026-07-19T17:32:24+05:30
feat: implement format_source wrapping topiary-core
fcd5c0a — Peter John 2026-07-19T17:29:43+05:30
fix: use body-anchored indent annotations instead of per-construct = tokens
bd217f8 — Peter John 2026-07-19T17:27:40+05:30
fix: correct node names and indentation annotations in format.scm
b29055c — Peter John 2026-07-19T17:24:33+05:30
feat: add Topiary format.scm formatting rules for Plum
0a830c8 — Peter John 2026-07-19T17:22:28+05:30
refactor: restructure as Cargo workspace, add plum-core skeleton
889886f — Peter John 2026-07-19T17:15:37+05:30
docs: add CLI formatter implementation plan
d2781a5 — Peter John 2026-07-19T16:18:06+05:30
docs: add CLI and formatter design spec
2c5c010 — Peter John 2025-04-19T12:37:33+05:30
add cmake
e9b4405 — pyrossh 2024-12-30T13:29:21+05:30
more stuff
0d8e2ab — pyrossh 2024-12-18T21:48:44+05:30
add cargo pkg
58cc293 — pyrossh 2024-12-18T16:44:58+05:30
finish syntax
59e3de6 — pyrossh 2024-12-18T10:45:39+05:30
fix traits
1910cfc — pyrossh 2024-12-18T10:34:12+05:30
fix tests
5b84889 — pyrossh 2024-12-18T10:24:09+05:30
fix assign
9e7927c — pyrossh 2024-12-18T10:17:06+05:30
fix tests
4aca0b2 — pyrossh 2024-12-18T00:40:00+05:30
improve highlights
d357000 — pyrossh 2024-12-17T16:07:07+05:30
add helix
9fa731a — pyrossh 2024-12-17T15:26:22+05:30
cleanup
0d43379 — pyrossh 2024-12-17T15:08:34+05:30
improve string
08530fa — pyrossh 2024-12-17T14:41:34+05:30
improve
c05610c — pyrossh 2024-12-17T13:04:14+05:30
improve lang
419a88f — pyrossh 2024-12-13T22:54:16+05:30
improce code
267c262 — pyrossh 2024-12-12T14:28:36+05:30
get string working
d322d05 — pyrossh 2024-12-12T13:31:25+05:30
add better syntax
5de508e — pyrossh 2024-12-11T14:00:50+05:30
changes
63acee9 — pyrossh 2024-12-02T13:19:30+05:30
fix README.md
f7c51fa — pyrossh 2024-12-02T13:17:30+05:30
fix README
ca33da0 — pyrossh 2024-12-02T13:15:40+05:30
fix LICENSE
fa31ba4 — pyrossh 2024-11-24T19:17:28+05:30
some changes
fd085d9 — pyrossh 2024-11-22T21:00:27+05:30
new rules
f997bee — pyrossh 2024-11-18T11:11:03+05:30
fix parser
afb772e — pyrossh 2024-11-12T22:46:21+05:30
improve syntax
5f5d99d — Peter John 2024-11-10T22:54:26+05:30
new syntax
1675049 — Peter John 2024-11-05T11:25:58+05:30
new syntax
2a44b7e — Peter John 2024-10-27T22:32:37+05:30
more syntax
e2157e4 — Peter John 2024-10-07T10:16:13+05:30
improve grammar
2634d00 — Peter John 2024-08-30T13:19:01+05:30
improve grammar
efe15db — Peter John 2024-08-25T15:50:44+05:30
improve grammar
fc68ba7 — Peter John 2024-08-17T22:38:01+05:30
assign works
5d12d71 — Peter John 2024-08-17T16:59:50+05:30
update tree-sitter and grammar
cdc4739 — Peter John 2024-08-15T21:37:53+05:30
update readme
4bd2c1c — Peter John 2024-08-15T21:36:27+05:30
add vscode/treesitter
08174b8 — Peter John 2024-04-26T20:21:47+05:30
Update readme.md
fc566dd — pyrossh 2024-04-26T09:36:53+05:30
updates
e6e9e7c — pyrossh 2024-03-09T22:29:39+05:30
improve
f7bd316 — pyrossh 2024-03-01T12:19:38+05:30
add docs
22a1eb0 — pyrossh 2024-02-28T21:58:19+05:30
update readme
90e6cd4 — pyrossh 2024-02-26T13:02:18+05:30
updates
f9f376c — pyrossh 2024-02-26T11:04:04+05:30
update
5ff7fdd — pyrossh 2024-02-26T10:34:03+05:30
update
c3ac9ba — pyrossh 2024-02-25T19:09:30+05:30
improve readme
af78b68 — pyrossh 2024-02-24T22:21:06+05:30
update
e502e58 — pyrossh 2024-02-24T16:26:38+05:30
add more code
19b8452 — pyrossh 2024-02-23T12:09:48+05:30
improve syn
c725b92 — pyrossh 2024-02-20T22:17:49+05:30
update
66f4a64 — pyrossh 2024-02-20T20:07:50+05:30
improve
4786888 — pyrossh 2024-02-17T17:57:58+05:30
add naming convention
1f7d137 — pyrossh 2024-02-17T10:51:55+05:30
lang changes
58ce289 — pyrossh 2024-02-12T23:18:21+05:30
docs
6fd1e28 — pyrossh 2024-02-10T13:10:33+05:30
docs
33c6437 — pyrossh 2024-02-10T13:07:34+05:30
docs
de232c4 — pyrossh 2024-02-10T12:18:50+05:30
docs
68c4568 — pyrossh 2024-02-10T01:27:17+05:30
docs
7aecb8c — pyrossh 2024-02-08T23:20:22+05:30
docs
ed5fe02 — pyrossh 2024-02-07T23:12:14+05:30
docs
c8e4165 — pyrossh 2024-02-07T22:55:46+05:30
docs
86286be — pyrossh 2024-02-07T11:45:38+05:30
cleanup
dc1e5ef — pyrossh 2024-02-07T11:41:32+05:30
add static functions on records
6a5b4e2 — pyrossh 2024-02-07T11:39:40+05:30
increment spec
de2c04c — pyrossh 2024-01-31T11:39:41+05:30
add methods
b012729 — pyrossh 2024-01-29T12:11:42+05:30
new syn
0e69b5b — pyrossh 2024-01-29T10:33:00+05:30
spec
7b112e2 — pyrossh 2024-01-25T12:15:50+05:30
improve fn example
c772e73 — pyrossh 2024-01-17T09:00:22+05:30
improve syn
ddac811 — pyrossh 2024-01-05T10:04:33+05:30
langium
ba60f69 — pyrossh 2023-06-26T19:09:35+05:30
update
4c1e0a7 — pyrossh 2023-06-26T19:08:29+05:30
update readme
9dc4cfe — pyrossh 2023-06-26T18:46:10+05:30
update
47e9b71 — Peter John 2023-05-03T20:01:24+05:30
Fix pipes
27426a3 — Peter John 2023-05-01T13:56:23+05:30
fix tests
e69a5b5 — Peter John 2023-04-30T23:12:11+05:30
add const expressions
512f582 — Peter John 2023-04-30T15:07:07+05:30
get more expressions working
694b4a5 — Peter John 2023-04-28T22:28:33+05:30
Add functions
46223cc — Peter John 2023-04-28T00:00:05+05:30
new spec
fddcfa8 — Peter John 2023-04-21T11:03:23+05:30
Add bindings and queries
0d22fe3 — Peter John 2023-04-21T00:00:46+05:30
update grammar
273d01a — Peter John 2023-04-20T10:40:47+05:30
remove windows support
3152e7c — Peter John 2023-04-20T10:33:04+05:30
make fns work
30158b0 — Peter John 2023-04-19T22:57:37+05:30
new grammar
a6ba4f6 — Peter John 2022-11-13T22:00:30+05:30
add menu example
ca4e97c — Peter John 2022-11-11T22:32:15+05:30
improve grammar
3fcabcb — Peter John 2022-11-10T19:23:55+05:30
remove indentation
21ed651 — Peter John 2022-11-07T23:36:34+05:30
split class tests
54c4365 — Peter John 2022-11-07T23:33:51+05:30
update names
12ed161 — Peter John 2022-11-07T23:07:50+05:30
add enums
e832171 — Peter John 2022-11-07T01:04:41+05:30
intitial commit