Maybe something like a convention based on file extensions? For example,
and then the compiler choses file accordingly to what the current backend is.
How does this sound? If not, what is/will the standard practice be for this problem?