On the other hand, while I completely agree about the C codebase, the Javascript is at least comprehensible. I've toyed around with adding a feature or two, and almost got there.
I can only recommend looking at all the Decker author's projects. He's done work on APL languages, GUIs, interactive programming, etc. https://beyondloom.com/things/index.html
https://raw.githubusercontent.com/JohnEarnest/Decker/refs/he...
I've read and written a lot of C over the decades but this borders on being an IOCCC entry...