@neauoire but ughhh.... Then you'll need to learn the assembly/binary for the target architecture...? And if you use llvm to handle that you'll still need that ir building blocks and write them in c or something...
Often to me if I needed to use a lightweight script I just use some lua and call it a day