The original Polyglot was a program written by Kevin Bungard, Peter Lisle, and Chris Tham that ran in seven different languages, all with the exact same source code. When I saw this, I realized that it should be possible to add one more... BrainF***. I was not able to test all the other languages that Polyglot supposedly works on, so its possible that I broke one, but I don't think so. It still works in: C, Pascal, Bash Shell, x86 assembler (though this is broken on newer machines due to some non-standard stuff), PostScript, and BrainF***. I tested the BF portion with my own BF interpreter, but not with my assembler, though it should work. It should also work with any standard BF interpreter/compiler. Although I havent tested them, it should also work as a Fortran and COBOL program still.
Notice: Please do not direct link to any files on this site, link
to the page containing the file! Thanks!