Live data from Hacker News

Quine Relay

github.com

11–20 of 187 posts

Re: Quine Relay

#12
post #8
post #6

Why's there a Star of David in the middle?

a) The author is Jewish b) It's semantically relevant (Probably the latter. Same goes for the typo in the copyright notice in the end.)

Both semantically and semitically relevant, in other words.

Re: Quine Relay

#15

Anyone care to explain how this actually works?

Per the explanation linked in the discussion [1], the initial file generates code in another language. That code, when executed, generates code in yet another language. The process continues until the output is the code of the original file.

[1] https://github.com/mame/quine-relay

Re: Quine Relay

#16
post #9
post #6

Why's there a Star of David in the middle?

It's actually a transmutation circle symbol from the manga/anime Fullmetal Alchemist

Actually, the Ouroboros Tattoo on the villians Lust / Gluttony / Greed / etc. etc. from Full Metal Alchemist, of whom were created using the human transmutation circle (getting into the details of which would be spoilers...).

Ex: Wrath's tattoo is in his eye:

http://images1.wikia.nocookie.net/__cb20130406001619/fma/ima...

Re: Quine Relay

#17
post #15

Anyone care to explain how this actually works?

Per the explanation linked in the discussion [1], the initial file generates code in another language. That code, when executed, generates code in yet another language. The process continues until the output is the code of the original file. [1] https://github.com/mame/quine-relay

What is unclear to me is how the final program manages to represent the entire code (thus the entire language loop). Wouldn't doing that make the source code recursive and infinite? Or am I missing something important?

Re: Quine Relay

#19
post #15

Earlier quoted context omitted.

Per the explanation linked in the discussion [1], the initial file generates code in another language. That code, when executed, generates code in yet another language. The process continues until the output is the code of the original file. [1] https://github.com/mame/quine-relay

What is unclear to me is how the final program manages to represent the entire code (thus the entire language loop). Wouldn't doing that make the source code recursive and infinite? Or am I missing something important?

No more recursive or infinite than any other self-replicator that has intermediate "bodies".

EDIT: To clarify, there's actually a wrapper script on top of it all that tells the first script to execute, storing its output in file 2, then execute file 2 with language 2, then execute file 3 with language 3, and so on.

Re: Quine Relay

#20
post #8
post #6

Why's there a Star of David in the middle?

a) The author is Jewish b) It's semantically relevant (Probably the latter. Same goes for the typo in the copyright notice in the end.)

I did consider a) but I'm pretty sure "Yusuke Endoh" is not Jewish.
Post reply on HN