Feels like more and more of these sorts of things are popping up. For example there's TidalCycles which is a Haskell version of the idea, which also exists as https://strudel.cc/ which is I believe a webasm version of it.
Other way round, no? TidalCycles predates Sonic Pi by a number of years
Other way round, no? TidalCycles predates Sonic Pi by a number of years