Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Question

edited tags
Link
Shaggy
  • 45k
  • 4
  • 39
  • 95
edited tags
Link
user45941
user45941
added 47 characters in body; edited tags
Source Link
dan04
  • 6.6k
  • 2
  • 33
  • 42

Using two languages of your choice, write the smallest "mutual quine" you can.

That is, write a program P in language A that outputs the source code for a program Q in language B, such that the output of program Q is identical to the source code for P.

Empty files don't count, nor do "read the source file and print it"-style programs.

Edit: Answers with P=Q no longer count.

Using two languages of your choice, write the smallest "mutual quine" you can.

That is, write a program P in language A that outputs the source code for a program Q in language B, such that the output of program Q is identical to the source code for P.

Empty files don't count, nor do "read the source file and print it"-style programs.

Using two languages of your choice, write the smallest "mutual quine" you can.

That is, write a program P in language A that outputs the source code for a program Q in language B, such that the output of program Q is identical to the source code for P.

Empty files don't count, nor do "read the source file and print it"-style programs.

Edit: Answers with P=Q no longer count.

Tweeted twitter.com/#!/StackCodeGolf/status/70094669270351872
edited tags
Link
Loading
Source Link
dan04
  • 6.6k
  • 2
  • 33
  • 42
Loading

AltStyle によって変換されたページ (->オリジナル) /