• [^] # Re: hello world !

    Posté par . En réponse à la dépêche Atrocités linguistiques. Évalué à 6.

    Et n'oublions pas le (seul?) example de source qui marche avec 4 langages ( http://www.gnu.org/fun/jokes/happy-new-year.cfbC.html(...) ) :


    cat /*dev/null; echo "Happy New Year"\!
    cat <<c*/ /*dev/null | cat> /dev/null
    c */ () {} /*
    c */ main() { cat(); printf("Happy New Year!\n"); } /*
    17 format(' Happy New Year!')
    write (6,17)
    stop
    end
    c This program runs in four languages with the same effect.
    c The languages are C, Fortran, C Shell and Bourne Shell.
    c Written by Vadim Antonov, avg@hq.demos.su
    c*/