Login
You're viewing the discuss.systems public feed.
  • Oct 10, 2026, 4:16 AM

    @mcc Yeah it's very odd. FORTH is a thing that has existed for a long time, and brains take maybe 10 minutes to get used to reading it fluently. And as you say - unambiguous. This just seems like a mess.

    💬 1🔄 0⭐ 1

Replies

  • Oct 10, 2026, 4:21 AM

    @TomF i find forth hard to adjust to, but— in order to write WAST, you have to adjust to it? so once you've adjusted to it, why go back and forth? maybe the person on the standards committee who got the LISP mode in actually does write WAST code where all stackiness is done via "unrolling". but, i found myself writing code like

    global.get $var ;; return value

    local.tee $v2
    global.get $var
    i32.mul
    local.get $v2
    i32.add
    global.set $var

    ;; end of function

    you can't LISP that!!

    💬 0🔄 0⭐ 1