Email or username:

Password:

Forgot your password?
dave

Guile Hoot 0.2.0 is out now! spritely.institute/news/guile-

More R7RS features! A foreign function interface! Record types! Structured exceptions!

I also wrote an accompanying post that shows how you can use Hoot's new FFI to call browser APIs and build interactive web pages. spritely.institute/news/buildi

🦉 hoot hoot! 🦉

#guile #scheme #lisp #wasm

15 comments
dave

if you use guix and the nonguix channel, you can check out the demo in the ffi blog post like so:

guix shell google-chrome-unstable -- google-chrome-unstable spritely.institute/news/buildi

(soon you will be able to use firefox instead of chrome but there's no guix package that has wasm gc and tail calls yet)

Remco

@dthompson it works fine in firefox 120 after toggling javascript.options.wasm_tail_calls using about:config.

Also, this is really cool!!!

dave

@rwv yessss glad it works on someone else's browser! thanks for reporting in!

Alexander Shendi

@dthompson @rwv

Works on Android 11 with Chrome 119, but not Firefox 120.0.1 (can't set javascript.options.wasm_tail_calls via about:config).

dave

@alexshendi @rwv hmm guess some builds don't allow setting that? that's odd

Alexander Shendi

@dthompson @rwv

FWIW, in Firefox for Android Beta (identifies as "121.0b5") the todo list works, and one can set the option.

dave

@alexshendi @rwv oh cool, good to know! first report I've heard of it working on Android.

Alexander Shendi

@dthompson @rwv

FWIW, works on #OpenBSD 7.4 with firefox 120 from packages! As already mentioned you have to set "javascript.options.wasm_tail_calls" to true via about:config.

Luis Felipe

@dthompson Now I only need symbolic CSS and I'd have all I want for web development with Guile 👍

dave

@luis_felipe someone should work on that :) I think it has been attempted before but with less success.

dave

@luis_felipe the annoying thing is that the name SCSS has already been taken by Sass.

Go Up