plum
git clone https://git.pyrossh.dev/plum
A statically typed, imperative programming language inspired by rust, python
34ca8a7
— Peter John
2026-11-16T18:47:04+05:30
plan: U1-U4 after T7
docs/plans/2026-11-13-no-globals-tests-ports.md
CHANGED
|
@@ -41,3 +41,10 @@ Decisions (user's answers):
|
|
|
41
41
|
- **T5 game framework ports** (after T4; also `plum compile <folder>` as master has it): master's c8bf0cd7/f18b5539 where they apply to this dialect (`holdsActors`), frames on demand (`frameIdle`), development keys (`plum run --dev`, `remakeGame`, travel keys), the window size on the tick's input, `Ticker` for `Clock`, real font metrics for `Label`.
|
|
42
42
|
- **T6 games** (after T5): master's `clockwork` and `menu` in this dialect, following docs/game.md and the example-games style (no comments, no getters, no unnecessary sugar).
|
|
43
43
|
- **T7 final review**: a fresh reviewer over everything since the start SHA; fixes by fresh agents.
|
|
44
|
+
|
|
45
|
+
## After T7 (user, 2026-11-16: "DO 1-4 and 6 please")
|
|
46
|
+
|
|
47
|
+
- **U1 uniqueness fragility** (sl/uniq-filter): a `filter` of a `List<Looping>` anywhere cost Orbit Runner's `PlayingScreen.update` 4 of its 5 in-place spreads; fix the pass, put `Looping.without` back to a `filter`.
|
|
48
|
+
- **U2 screen names** (sl/screen-names): `Screen.name()` defaults to the type's name; navigation by type, `Cmd.goTo<S>()`, a wrong screen is a compile error; games drop `name()`. With it: docs/std.md describes `Dice`.
|
|
49
|
+
- **U3 closure/match bugs** (after U1): backlog's closure binder of one name in two match arms ("undefined function"), and the nullary-variant match inside a closure matching every value.
|
|
50
|
+
- **U4 paint and update perf** (after U1+U2): profile-led; paint +5% since declarative paint, +2% from T7, Elm update regression. Includes the user's question: do children blocks instead of closures help (backlog: closures are untyped `anyref`, two casts and an indirect call per call).
|