https://github.com/octetta/k-synth https://github.com/octetta/ksynth-desktop/
it's been a blast to play with... and a great excuse to learn array languages
The evaluation order doesn't matter as much as you don't really know what kind of function/operator you have at parse time so have to do a bunch of shenanigans to defer that decision until runtime while still keeping it efficient. Kind of fiddly to get right but once it works, it just works.
Claude and me (and a ton of decades old research) pretty much figured out all the complications in the APL parse/eval stack (https://github.com/dan-eicher/AiPL).
https://dl.acm.org/doi/pdf/10.1145/75144.75174
(!!!)
(Wait, what? That Stanley Jordan?) (Yep.)
https://mlochbaum.github.io/BQN-Musician/synth/index.html
https://www.uiua.org/tour#audio
https://www.uiua.org/tutorial/audio
Yes, I’m very fond of trying out different languages. My main language for personal projects is Haskell.
> How do you like it?
I haven’t used J for a while, actually, but I recall finding it a bit confusing, especially when rank manipuations are involved. It has a larger vocabulary than most array languages, which I felt made it hard to learn. It was great fun though!
Haskell is one I haven't used yet. The closest I've come to that is a weekend fling with OCaml... much respect for the ML work though!
I hear you for the complexities in J though. I've intentionally limited k-synth to single letter upper case variables and the verbs are also one character... I might regret this at some point.
Have fun! It makes the world a better place!
I'm an APL newb... while I've been writing code-for-cash forever (C, etc.) I've had a long-time interest in APL languages, but I'm just messing around after working on waveform generation for another sound project I have in the works (https://github.com/octetta/skred ... https://youtu.be/L5-3gBpJsAo?si=JdBlntzn4doY-c3s).
While I was working on this I remember the first book I saw in the public library on computer programming was about APL (probably sometime around 1976)... I didn't have access to a "real computer" for another year after that and no APL for decades, but some ideas stick around, LOL.