from Hacker News

Lisp Game Jam – “Wireworld” in WebAssembly Using Spritely's Hoot Project

by paroneayea on 6/12/23, 7:25 PM with 7 comments

  • by rapnie on 6/13/23, 7:18 AM

    > The real point of this blogpost isn't Wireworld itself, but how Hoot enabled making this Wireworld demo. [..] The last time we talked about Hoot (our Scheme->WASM project) we talked about directly compiling Scheme to WebAssembly. This is of course the higher level goal of Hoot: since Spritely's tooling is written in Guile Scheme, we want Spritely to be in the browser, and compiling Scheme programs themselves to WebAssembly is a great way to accomplish that goal.

    https://gitlab.com/spritely/guile-hoot

  • by rapnie on 6/13/23, 4:37 AM

    Wireworld was part of the recurring Lisp Game Jam at itch.io [0] and the same jam also saw a submission by Spritely co-founder Christine Webber, called "Fantasary" [1] described as "prototype textual virtual world written on top of Spritely Goblins". The name is in reference to Fantasary [2] of the original Spritely project, representing a technology vision for object capabilities. Very cool.

    [0] https://terpri.itch.io/wireworld

    [1] https://cwebber.itch.io/fantasary

    [2] https://spritelyproject.org/#fantasary

  • by predakanga on 6/13/23, 8:48 AM

    Small correction for the author:

    > Copper stays copper, unless there are one or two electron heads in any cardinal direction, in which case it becomes an electron head

    should be

    > Copper stays copper, unless there are one or two electron heads in any neighboring cell, in which case it becomes an electron head

    I spent ages trying to figure out how the generators were working in their example before I looked up the rules elsewhere.

  • by shaunxcode on 6/13/23, 4:01 AM

    This is really cool! Super exciting to see how far hoot has come!