Oracle SQL, 142 bytes
select
reverse(replace('@''[@'||chr(93)||'''))from dual;','@',q'[select
reverse(replace('@''[@'||chr(93)||'''))from dual;','@',q]'))from dual;
Oracle SQL, 118 bytes
select
reverse(substr(rpad(1,144,'||chr(39)),27))from dual;select
reverse(substr(rpad(1,144,'||chr(39)),27))from dual;
Test in SQL Plus
SQL> set lines 80 pages 0
SQL> select
2 reverse(replace('@''[@'||chr(93)||'''))from dual;','@',q'[select
3 reverse(replace('@''[@'||chr(93)||'''))from dual;','@',q]'))from dual;
;laud morf))']q,'@',';laud morf))'''||)39(rhc||'@[''@'(ecalper(esrever
tceles['q,'@',';laud morf))'''||)39(rhc||'@[''@'(ecalper(esrever
tceles
SQL> select
2 reverse(substr(rpad(1,144,'||chr(39)),27))from dual;select
3 reverse(substr(rpad(1,144,'||chr(39)),27))from dual;
;laud morf))72,))93(rhc||',441,1(dapr(rtsbus(esrever
tceles;laud morf))72,))93(rhc||',441,1(dapr(rtsbus(esrever
tceles
1@lebatsnok You could move your comment to an answer now. :) – mbomb007 – 2016-04-22T16:07:24.667
1
Looks like this has been done before, just without the "no palindromes" rule.
– Iszi – 2013-12-18T18:59:10.7903Are those scores bonuses or penalties? You need to specify in words if something is a penalty or a bonus, because saying
+10
can be taken to mean either "score as if it had 10 more characters than it actually does" or "the code can have 10 more characters that won't be scored", or other interpretations. – AJMansfield – 2013-12-18T20:24:38.6237@AJMansfield Lowest score wins means that +x would be a penalty, -x would be a bonus. – Iszi – 2013-12-18T20:32:53.883
1They are penalties. – ike – 2013-12-18T20:33:11.117
9The one question I have, then, is why is pulling data from the internet given a larger penalty than reading the source file? – AJMansfield – 2013-12-18T20:35:36.700
4Woohoo, 1st place on the hot network questions list :D Our site needs more attention... – Doorknob – 2013-12-19T00:09:20.583
Next time this needs an extra rule about syntax errors (or possibly standard error). – l0b0 – 2013-12-19T09:24:53.610
@DoorknobofSnow There's good attention and bad attention. I don't think it's a coincidence that the quality of new questions just dropped considerably (and it wasn't that high to begin with). – Gareth – 2013-12-19T12:17:37.377
I posted the challenge http://codegolf.stackexchange.com/questions/16043/mirror-quine-or-my-head-hurts which has tighter rules than this one, so every answer there would qualify as an answer here, but would not score as well. My current answer there is over 6000 characters.
– hildred – 2013-12-19T02:13:28.690When are you actually going to accept a solution? – ProgramFOX – 2013-12-22T17:57:33.350
I can't post an answer but can add a comment. Here's a solution in R.
reverse <- function() cat(paste(rev(strsplit(paste(deparse(get(as.character(match.call()[[1]]))), collapse="\n"),"")[[1]]), collapse=""))
.reverse()
will print out))"" = espalloc ,)]]1[[)"" ,)"n\" = espalloc ,)))]]1[[)(llac.hctam(retcarahc.sa(teg(esraped(etsap(tilpsrts(ver(etsap(tac { )( noitcnuf
:P – lebatsnok – 2013-12-30T23:53:13.347