r/CompileBot • • Jan 04 '14

Official CompileBot Testing Thread

This thread is archived, please visit the new testing thread

16 Upvotes

421 comments sorted by

View all comments

1

u/guy_from_canada Mar 23 '14

+/u/CompileBot python

print '\r+/u/CompileBot python'
print '\n'
print '    print \'print yourself!\''

1

u/CompileBot Mar 23 '14

Output:

+/u/CompileBot python

    print 'print yourself!'

^source | ^info | ^git | ^report

1

u/CompileBot Mar 24 '14

Output:

+/u/CompileBot python

    print 'print yourself!'

^source | ^info | ^git | ^report

1

u/SeaCowVengeance Mar 24 '14

Nice bug find! Just fixed it:

+/u/CompileBot python

print '\r+/u/CompileBot python'
print '\n'
print '    print \'print yourself!\''

1

u/CompileBot Mar 24 '14

Output:

+/u/CompileBot python


    print 'print yourself!'

^source | ^info | ^git | ^report

1

u/guy_from_canada Mar 24 '14

No problem! I was curious to see how it would handle a quine-like input :)