Porting the toolchain is arguably trivial, but making a pleasant developer experience on a computing platform that may or may not have a keyboard is another concern entirely.
As other poster alluded to. It’s not the difficulty, it’s that given the environment of the iPad, there isn’t a compelling use case.
You can run a compiler, but you cannot run the generated code.