Haha well I'm sure if you put your mind to it you could create some madness in Koto!
If it helps here's a git blame helper script I made for Helix (as an example of practical code without any effort put in to making it readable for others): https://github.com/irh/dotfiles/blob/main/scripts/.scripts/g...
After looking at this for 5 minutes it seems it is better than rhai according to my metric. But not necessarily better than lua.