Re:A turing machine in 133 bytes of javascript
by darklajid on Monday November 28, 2011 @07:14AM
(#3285549)
No, not just two.
It stripped the space before the first { and between the "return" and "false".
False is represented as !1.
"(c)?foo:bar" is replaced by "c?foo:bar". Plus - semicolons are removed as you noticed.
But - really.. It's ugly enough as it is :)
Re:A turing machine in 133 bytes of javascript
by jedschmidt on Monday November 28, 2011 @09:19AM
(#3285926)
I'm sure there's room left that the 140byt.es folks will find, but off the bat:
e=0;while(d!=c)
for(e=0;d!=c;)
I left the two ;} because my syntax highlighter was yelling at me that I'm doing something ugly and I was inside the 140B limit anyway.