quine ã¯æ¥µãã¦ã人ããã£ã±ãããã®ã§ quine ã®å¤ç¨®ãèãã¦ã¿ã¾ãããããã¾ãããã®ãæãã¤ãã¾ããã§ãããã誰ãããã£ã¨é¢ç½ãã®ãèãã種ã«ãªãã¨ãããªã¨æãã¤ã¤æãã¾ãã Python -> Ruby -> Perl -> Python .. ã¨åãããã°ã©ã ãquine ã£ã½ãã®ã¯ python ã ããªã®ã§å ¨ç¶ãã¡ã q='print "puts %%(print q(q=%s;exec q).$/)"%`q`';exec q $ cat quine.rb.pl.py |python |ruby |perl > q $ diff quine.rb.pl.py q Hello, world! ãæ¨æºã¨ã©ã¼åºåã« 1 æåã ãåºåããããæ®ããåºåããããã°ã©ã ãåºåãã¦çµäºãã¾ãã "Hello, world!\n".instance_eval q=%q(STDERR.put
{{#tags}}- {{label}}
{{/tags}}