A new language is announced. Interpreter only, so far, but the USP is that every variable is an associative array. I’ve compiled it on Haiku and it seems to work. It should, it’s C, after all. Amusingly, it compiled more cleanly on Haiku than on MacOS.
gcc -O3 -o keyva main.c kvstdlib.c
So if any C gurus want to get in on the ground floor of developing a new language and bringing Haiku compatibility into it from scratch, this is your chance.
Wow, I guess this may shed some light on why some people are so obsessed with access to Youtube from the browser. When the only info about this programming language is a Youtube video, and the github readme is just “The KeyVa programming language”. For real?
For lovers of associative arrays, while waiting for KeyVa to become the next great thing, consider learning a little about awk. There’s probably a Youtube video, but to me seems handier to type man gawk at the Terminal. Super handy text processing functionality if you’re writing a shell script, and of course it has other stuff you’d be unlikely to need like sine and cosine functions etc. Won’t ever be a full application-writing programming language - but easy to use in scripts and already installed.
Gawk apparently supports multi-dimensional arrays, which he knew but I didn’t. That isn’t a standard feature, so your program isn’t as portable if you use it, but it’s a huge factor in being able to implement any complicated analysis.