it is not really "code" - it is a fancy shell script stringing a launcher like thing (if you have seen people use dmenu or rofi to launch applications and make menus, it is just that, but repurposed to do more). I just realised i forgot to add link the article (the said write up in the original comment) https://sga.codeberg.page/articles/Launcher/Launcher_for_Everything.html. Since then I have made many changes, and here is the script
Although I was actually considering a rust rewrite, because I am learning it, and 150ms is way to long for me
actually we start numbering by minimising the number of highest order addition, which is the isobutyl, if it gets same number regardless, then we try to minimise the sum of numbers, so i think it should be called
5-(isobutyl)-5,6,6,7,8-penta-ethyl-8-methyl-decane (I am assuming hydrogen's are present, just not represented, because that usually is the case)
I may alo be wrong here, it has been 4 years since I have been required to do nomenclature myself