There's a very nice language dedicated to ESP32 programming that has semantics very similar to ruby and python and very clean minimalistic syntax. It called toit
I concur that's strange; the homepage code examples are standard imperative things. Clean IO, peripheral APIs, scheduling/code structure, and resource sharing is what I'd expect as priorities from an embedded-dedicated lang.
I looked through the docs and did a couple of google searches and found nothing, but what’s the story with using toit for a DIY MIDI controller using the ESP32?
https://toitlang.org/