1
\$\begingroup\$

Create a program that does the same thing forwards and backwards, in different languages. “Different languages” does not include different versions of the same language.

Challenge

This program can take any input and write anything to stdout and stderr. However, the program must output exactly the same things for the same input when run backwards in the other language. This explicitly includes anything written to stderr while the program is running, including errors. The length of the output from stdout and stderr must sum to at least 5. The minimum program length is 2 bytes.

  • This is a , so the answer with the most votes wins.
  • Comments are allowed, however the commented text must take up less than ¼ of the total program.
\$\endgroup\$

closed as too broad by feersum, Calvin's Hobbies, Downgoat, Alex A. Sep 25 '15 at 0:33

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    \$\begingroup\$ This is too broad because there is no real objective for the code, or criteria for judging one program better than another. \$\endgroup\$ – feersum Sep 25 '15 at 0:06
  • 2
    \$\begingroup\$ Also, changing it to code-golf is no good because 1 would be valid in numerous languages. BTW, "derivative language" is not well defined at all. \$\endgroup\$ – Calvin's Hobbies Sep 25 '15 at 0:10
  • \$\begingroup\$ @Calvin'sHobbies should I remove that? \$\endgroup\$ – J F Sep 25 '15 at 0:11
  • \$\begingroup\$ @ETHproductions The challenge is making it do the same thing. I have also removed the derivative languages stipulation. \$\endgroup\$ – J F Sep 25 '15 at 10:36
  • \$\begingroup\$ Would comments and programs that crash with errors be allowed? \$\endgroup\$ – ASCIIThenANSI Sep 25 '15 at 13:53
4
\$\begingroup\$

BF + Foo

You saw it coming

-[------->+<]>-.-[->+++++<]>++.+++++++..+++."olleH"
\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.