News for hackers. Stuff that matters.
Re:Code that is valid in both PHP and Java, and produces the... by simcop2387 on Thursday September 01, 2016 @10:57AM (#12405679)
Here's a polyglot that's valid in a large number of languages: https://github.com/mauke/poly.poly

At least the following:

    * C (89)
    * C (99)
    * C++
    * Haskell (multiple extensions, not sure how that works)
    * Bash
    * ZSH
    * Posix SH
    * Make
    * Perl 5
    * Perl 6
    * Ruby
    * Python
    * Brainfuck
    * HTML
edit: formatting

There are no comments on this comment yet.