News for hackers. Stuff that matters.
Re:Poly.html - check the source by callahad on Monday January 19, 2009 @11:25AM (#440588)
http://ideology.com.au/polyglot/ is a nice eight-language (Cobol, Pascal, Fortran, C, PostScript, Shell, x86, Perl) polyglot program.

Conveniently, it has a source viewer which will highlight relevant parts of the program's structure for a given language. For instance, the C compiler sees this: http://ideology.com.au/polyglot/c/

Re:Poly.html - check the source by shiro on Monday January 19, 2009 @05:10PM (#440977)
Check out this.

http://shinh.skr.jp/dat_dir/fizzbuzz7.gif

It is a valid GIF image file, but also a valid Fizz Buzz program in Ruby, Perl, Befunge, Z80 machine code, and x86 machine code.

Re:Poly.html - check the source by khafra on Tuesday January 20, 2009 @10:45AM (#441833)
Befunge makes it epic, but it could be polycode for the ages if the picture itself compiled to a FizzBuzz program in Piet (http://www.dangermouse.net/esoteric/piet.html)