MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CompileBot/comments/2sdgv5/official_compilebot_testing_thread/cnog4e1/?context=3
r/CompileBot • u/SeaCowVengeance • Jan 14 '15
Resources:
Wiki
FAQ
Supported Languages
Source Code
344 comments sorted by
View all comments
3
+/u/CompileBot JavaScript --include-errors
console.log({} + [])
2 u/CompileBot Jan 14 '15 Output:js: uncaught JavaScript runtime exception: ReferenceError: "console" is not defined.^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 +/u/CompileBot JavaScript --include-errorsprint({} + []); 1 u/CompileBot Jun 12 '15 Output:[object Object]^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 +/u/CompileBot JavaScript --include-errorsprint({} - []); 1 u/CompileBot Jun 12 '15 Output:NaN^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 edited Jun 12 '15 +/u/CompileBot JavaScript --include-errorsprint([] - []);recompile me 1 u/CompileBot Jun 12 '15 Output:0^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 +/u/CompileBot python3 --include-errorsprint(2 / (2 - (19 / 10 + 1 / 10))) 1 u/CompileBot Jun 12 '15 Output:Traceback (most recent call last): File "./prog.py", line 1, in <module> ZeroDivisionError: float division by zero^source | ^info | ^git | ^report → More replies (8)
2
Output:
js: uncaught JavaScript runtime exception: ReferenceError: "console" is not defined.
^source | ^info | ^git | ^report
1
print({} + []);
1 u/CompileBot Jun 12 '15 Output:[object Object]^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 +/u/CompileBot JavaScript --include-errorsprint({} - []); 1 u/CompileBot Jun 12 '15 Output:NaN^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 edited Jun 12 '15 +/u/CompileBot JavaScript --include-errorsprint([] - []);recompile me 1 u/CompileBot Jun 12 '15 Output:0^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 +/u/CompileBot python3 --include-errorsprint(2 / (2 - (19 / 10 + 1 / 10))) 1 u/CompileBot Jun 12 '15 Output:Traceback (most recent call last): File "./prog.py", line 1, in <module> ZeroDivisionError: float division by zero^source | ^info | ^git | ^report
[object Object]
1 u/Ali_M Jun 12 '15 +/u/CompileBot JavaScript --include-errorsprint({} - []); 1 u/CompileBot Jun 12 '15 Output:NaN^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 edited Jun 12 '15 +/u/CompileBot JavaScript --include-errorsprint([] - []);recompile me 1 u/CompileBot Jun 12 '15 Output:0^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 +/u/CompileBot python3 --include-errorsprint(2 / (2 - (19 / 10 + 1 / 10))) 1 u/CompileBot Jun 12 '15 Output:Traceback (most recent call last): File "./prog.py", line 1, in <module> ZeroDivisionError: float division by zero^source | ^info | ^git | ^report
print({} - []);
1 u/CompileBot Jun 12 '15 Output:NaN^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 edited Jun 12 '15 +/u/CompileBot JavaScript --include-errorsprint([] - []);recompile me 1 u/CompileBot Jun 12 '15 Output:0^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 +/u/CompileBot python3 --include-errorsprint(2 / (2 - (19 / 10 + 1 / 10))) 1 u/CompileBot Jun 12 '15 Output:Traceback (most recent call last): File "./prog.py", line 1, in <module> ZeroDivisionError: float division by zero^source | ^info | ^git | ^report
NaN
1 u/Ali_M Jun 12 '15 edited Jun 12 '15 +/u/CompileBot JavaScript --include-errorsprint([] - []);recompile me 1 u/CompileBot Jun 12 '15 Output:0^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 +/u/CompileBot python3 --include-errorsprint(2 / (2 - (19 / 10 + 1 / 10))) 1 u/CompileBot Jun 12 '15 Output:Traceback (most recent call last): File "./prog.py", line 1, in <module> ZeroDivisionError: float division by zero^source | ^info | ^git | ^report
print([] - []);
recompile me
1 u/CompileBot Jun 12 '15 Output:0^source | ^info | ^git | ^report 1 u/Ali_M Jun 12 '15 +/u/CompileBot python3 --include-errorsprint(2 / (2 - (19 / 10 + 1 / 10))) 1 u/CompileBot Jun 12 '15 Output:Traceback (most recent call last): File "./prog.py", line 1, in <module> ZeroDivisionError: float division by zero^source | ^info | ^git | ^report
0
1 u/Ali_M Jun 12 '15 +/u/CompileBot python3 --include-errorsprint(2 / (2 - (19 / 10 + 1 / 10))) 1 u/CompileBot Jun 12 '15 Output:Traceback (most recent call last): File "./prog.py", line 1, in <module> ZeroDivisionError: float division by zero^source | ^info | ^git | ^report
+/u/CompileBot python3 --include-errors
print(2 / (2 - (19 / 10 + 1 / 10)))
1 u/CompileBot Jun 12 '15 Output:Traceback (most recent call last): File "./prog.py", line 1, in <module> ZeroDivisionError: float division by zero^source | ^info | ^git | ^report
Traceback (most recent call last): File "./prog.py", line 1, in <module> ZeroDivisionError: float division by zero
3
u/SeaCowVengeance Jan 14 '15
+/u/CompileBot JavaScript --include-errors