IRC channel logs

2026-04-24.log

back to list of logs

<zip>with the current state of the browser I'm pretty sure that you can dispense with 95% of client-side javascript for most sites
<zip>service workers let you cache all your assets without having to even round-trip with an If-Modified-Since header and there's CSS about how to transition between two pages
<zip>for SPAs I'm curious about https://github.com/tonsky/datascript
<janneke>dthompson: re pulls/1: yeah, but i need to create and pass an external json object to an external javascript library...
<janneke>so i could possibly add an adapter in javascript that runs JSON.parse and call the javascript library
<janneke>but i don't see how a json string parsed to an s-exp would help here?
<n|Phreak>hmm looked into webIDL
<n|Phreak>its interesting and complex
<kestrelwx>n|Phreak: are you planning to write a binding generator in a "clean room"?
<kestrelwx>They provide a grammar, though it's not itself enough for all specs out there.
<cow_2001>i'm going through https://wasmgroundup.com/ but instead of using javascript it's guile's (ice-9 peg) and writing bytes through (ice-9 popen) to node
<cow_2001>sadly, (ice-9 peg) doesn't have much in the syntax error reporting department
<cow_2001>the book uses javascript's ohm
<cow_2001>something i've learned - if you're confused about stuff not importing right if you write (define-module ...)s, just translate them into (define-library ...)s and everything would just work
<cow_2001>if you haveta use stuff from guile, (only (guile) <stuff> ...)
<cow_2001>err... (import (only (guile) <stuff> ...) ...)
<cow_2001>i don't know why guile modules don't do what i expect them to do
<cow_2001>and i don't even mind. i like r7rs