If the compiler/linker is open source it could be translated.

Then again you'd have to use C anyways, unless you write a compiler of your own anyways.