plum

#treesitter#compiler#wasm

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

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


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)
docs/plans/2026-11-13-std-game-review.md CHANGED
@@ -26,3 +26,7 @@ Events stay the only source of truth; std keeps held state as a pure fold of the
26
26
  - The host poll stays the one imperative boundary but returns a List instead of writing through `out: Slice` parameters.
27
27
  - Replay keeps the per-tick held checkpoint (robust against a fold bug); `played` may become a List with the head dropped each tick.
28
28
  - Per tick, not per actor: the 10,000-actor benchmark is unaffected. Pairs with the `Key` enum.
29
+
30
+ ## Chosen (user 2026-11-16)
31
+ - Building: R1 items 1+2 (done cfbc7a67), R2 item 3 + input addendum, R2b derived `stepped` (user: "Yes derived stepped is good"): a `[Steps]` trait on a screen or actor makes the compiler generate `stepped`/child stepping from Actor / List<Actor> / Option<Actor> fields at compile time; per-field pause by an attribute (e.g. `@stepsWhen(!self.over)`); a hand-written `stepped` still wins. Then R3 items 10-12.
32
+ - Waiting: Key enum, one time model, Setup value, typed navigation.