A Japanese blogger Ku-ma-me made an interesting program code. It is a variation of Quine program.

The Ruby code generates Python code, which generates Perl code, which generates Lua code, which generates OCaml code, which generates Haskell code, which generates C code, which generates Java code, which generates Brainfuck code, which generates Whitespace code, which generates Unlambda code, which generates the original Ruby code again.

He wrote which versions of each programming language environment are needed, and how to run them. Blame me that I am too lazy to run them for check on my local 🙂

Share this: Twitter

Reddit

Tumblr

Facebook

More

Google

Pinterest



Email

