EDIT: I realize that the subject of this thread is not a polygot, but I'm leaving this comment up in case it interests someone. :/
If anyone's interested in what these are called, they are called polygots.
> In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages, which performs the same operations or output independent of the programming language used to compile or interpret it.