3 ms·
And this sentence: The girl the boy the dog hit bit cried. measures the depth of the stack in human brains.
by jloughry 11y ago
And this sentence:
The girl the boy the dog hit bit cried.
measures the depth of the stack in human brains.
- mikeash 11y agoI think I've suffered an overflow, and I bet it's exploitable too.
- function_seven 11y agoYeah, it exceeded my own stack :). Is it, "The boy hit the dog, the dog then bit the girl, who then cried?" Some of those verbs are binary operators (transitive), others are unary (intransitive).
- jloughry 11y agoArgh! You're right; I got the words out of order. It should be: The girl the boy the dog bit hit cried. I tried parenthesising it; I tried Lisp syntax (you're right; it's the mix of direct and indirect objects that complicates things); nothing worked. It's a diabolical sentence. The best I could come up with was this: In step 1, the dog bit the boy. In step 2, the boy hit the girl. In step 3, the girl cried.