What do you call source code valid in several languages? There was a specific word for it and really crazy examples.
1 Answer
The word you are looking for Polyglot
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.
Generally polyglots are written in a combination of C (which allows redefinition of tokens with a preprocessor) and a scripting language such as Lisp, Perl or sh...