home.social

#gnuguile — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #gnuguile, aggregated by home.social.

  1. I'm in a pickle. I'm in a jam. A lisp game pickle jam.

    I compiled the thing, but when I run it in the browser, it yields this error:

    Uncaught (in promise) CompileError: wasm validation error: at offset 4: failed to match magic number
        instantiate_streaming http://localhost:8080/reflect.js:148
        reflect http://localhost:8080/reflect.js:231
        reflect http://localhost:8080/reflect.js:1006
        load_main http://localhost:8080/reflect.js:284
        async* http://localhost:8080/game.js:3
        EventListener.handleEvent* http://localhost:8080/game.js:1
    

    https://community.spritely.institute/t/uncaught-in-promise-compileerror-wasm-validation-error-at-offset-4-failed-to-match-magic-number/712

    #gnuguile #guile #guilehoot #hoot #lisp #lispgamejam #scheme #spritely #spritelyhoot #wasm #web #webassembly

  2. In GNU Guile, cond-expand knows of supported features that are not built into GNU Guile only once I have already imported the libraries in which the features are implemented, where cond-expand-provide is being used to define a cond-expand feature.

    Why bother using cond-expand-provide if it will run only after you already have imported something?

    It is the chicken and the egg problem, or something.

    AH JUS DUN GAE ET.

    #gnuguile #guile #guix #lisp #programming #scheme #srfi