plum

#treesitter#compiler#wasm

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

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


1d27d50 — Peter John 2026-10-26T21:25:42+05:30
docs(plans): pre-task R uses Go-style for x := range src
docs/plans/2026-10-27-zig-errors.md CHANGED
@@ -103,3 +103,9 @@ Tests:
103
103
  - `range_removed_hint`.
104
104
 
105
105
  Update the docs, the iteration cheat sheet, highlighting and the LSP method completion for Int.
106
+
107
+ ### Pre-task R revision (user decision): Go-style `for x := range src`
108
+
109
+ - Every for loop is written `for <binders> := range <source>[, clauses]`, and `range` is a keyword. A loop without `range` is an error with a hint.
110
+ - `range n` on an Int iterates 0..n-1.
111
+ - `times()` is dropped. `until`, `to` and `downTo` stay.