computer/programs/useless/misc/polyglot

Valid HTML 4.01 Transitional

© Thomas Schoch | home
# define x u /*      v
# :::::::::::::::::::>>>>>>>$$$a"muroftih"#[>:#,_@]
eval 'echo "hitforum";exit';sub echo { print "@_\n"}
__END__>++++++++++>++++++++++[>+++++++++++>++++++++++
+<<-]>------.+.>++++++.<---.+++++++++.>--.+++
.<--.<<. */
main() { printf ("hitforum\n"); }














This program is a 6 language polyglot: it is valid code in 6 languages.
It prints "hitforum" since it was made for a lecture in the german hitforum.

Select a language: [ C | Shell | Perl | Brainf*** | Befunge | Whitespace ]

Download the source.