Timeline for Output a program that outputs a program ... that outputs PPCG
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 25, 2017 at 20:36 | comment | added | TrojanByAccident | Good thing I didn't use alert ;) | |
Jan 25, 2017 at 12:37 | comment | added | Stewie Griffin | @DLosc fishy, but I'll allow it :) | |
Jan 25, 2017 at 10:56 | comment | added | Sefa | @DLosc That's open for interpretation, but i tend to agree with you, i hadn't thought of it | |
Jan 25, 2017 at 10:54 | comment | added | DLosc |
@Sefa Well, not exactly--I think there's always a null byte (ASCII 0) output first, because of the . in console.log .
|
|
Jan 25, 2017 at 8:55 | comment | added | Sefa | If i understood the rules correctlu your score should be 1 as running the original code in BF ouptut PPCG | |
Jan 25, 2017 at 6:35 | comment | added | TrojanByAccident | @ais523 Well, I'm not sure what exactly Rhino is. I've tested my code in Chrome, FF, IE, and repl.it, and it works the same in all. | |
Jan 25, 2017 at 6:32 | comment | added | user62131 |
No, in Rhino, print() outputs its argument to standard output. (JavaScript the language doesn't really define a standard library; JavaScript + DOM does, but Rhino uses a different library.)
|
|
Jan 25, 2017 at 6:19 | comment | added | TrojanByAccident |
@ais523 although print() works in JavaScript, it does not output anything, and in fact attempts to print the page, so I don't think that counts.
|
|
Jan 25, 2017 at 6:17 | comment | added | user62131 | The Rhino interpreter for JavaScript can run the Python program, thus repeating a language. So whether this answer's valid or not depends on exactly how the rules on interpreters work. | |
Jan 25, 2017 at 1:53 | history | edited | TrojanByAccident | CC BY-SA 3.0 |
added another language
|
Jan 25, 2017 at 1:09 | history | edited | TrojanByAccident | CC BY-SA 3.0 |
added code links
|
Jan 25, 2017 at 0:14 | history | edited | TrojanByAccident | CC BY-SA 3.0 |
added another language
|
Jan 24, 2017 at 23:14 | history | edited | TrojanByAccident | CC BY-SA 3.0 |
added explanation
|
Jan 24, 2017 at 23:01 | history | edited | TrojanByAccident | CC BY-SA 3.0 |
added another language
|
Jan 24, 2017 at 22:54 | history | answered | TrojanByAccident | CC BY-SA 3.0 |