July 2nd 2026 - Things I Worked On

Added while loops to Hith

I added while loops to Hith. Its implemented in the Python core engine but I want to add macros so I can try implementing it directly in Hith itself.

Here's an example of how to use the while loop:

(defvar index 0)
(defvar count 3)
(defvar words (quote ("hello" "world" "how" "are" "you")))

(while (< index count)
  (message (nth index words))
  (setq index (+ index 1)))

Output:

"hello"
"world"
"how"