News for hackers. Stuff that matters.
Re:The Programming Language with the Happiest Users by davidbnewquist on Tuesday May 12, 2009 @12:29AM (#604875)
#!/usr/bin/perl

$x = <<'LOL';

#Meaningless chart/data is meaningless

$x =~ s/\x67less/\x67ful/g;

$x =~ s/((7less)|(7ful))(.+?)((7ful)|(7less))/$5$4$1/g;

print "#!/usr/bin/perl\n\n\$x = <<'LOL';\n${x}LOL\n";

print $x;

LOL

#Meaningless chart/data is meaningless

$x =~ s/\x67less/\x67ful/g;

$x =~ s/((7less)|(7ful))(.+?)((7ful)|(7less))/$5$4$1/g;

print "#!/usr/bin/perl\n\n\$x = <<'LOL';\n${x}LOL\n";

print $x;

Re:The Programming Language with the Happiest Users by pookleblinky on Tuesday May 12, 2009 @12:31AM (#604881)
Quines are fun and all, but I'd love to see a polyglot quine in Cobol, C, Haskell, Prolog, and Brainfuck.
Re:The Programming Language with the Happiest Users by biohacker42 on Tuesday May 12, 2009 @12:59PM (#605711)
Well C is reasonably easy to decompile. If you simplified the syntax a bit, wrote a really simple decompiler with it, perhaps so simple it really only works on one binary, that binary being its own executable... it could work.
Re:The Programming Language with the Happiest Users by davidbnewquist on Tuesday May 12, 2009 @12:43AM (#604893)
Sighs that my quine is so 1999...