Do the program actually do anything or is it just aesthetic?
I don't know what all the library calls do, so I can't tell if they are correct, but "run_llvm_ir(llvm_ir: str)" seems to think that a C main function returns a double, which the Python code reads as a single.