from groucho marx's "I shot an elephant in my pajamas this morning, how he got in my pajamas I don't know"
-
-
Show this thread
-
I have occasional bouts of designing an emoji-based language meant to be trivially parsable and this particular sentence made me go "haha cute...... oh fuck"
Show this thread -
but I think it might be solved if you mandate projectivity? plus a binding direction. this is specifically for things like freestanding phrases with implied referents
Show this thread -
so like "I shot an elephant in my pajamas" is unambiguously the nonsense meaning and for the normal meaning you'd have to write "I in my pajamas shot an elephant"
Show this thread -
-
one of the things I'm adamant on for emoji language is parens for logical grouping so you can easily distinguish like
Show this thread -
"I shot a robber in my house" could encode which of the two parties, and one or both, was in the house
Show this thread -
"I [sbj] house in robber [obj] shoot [past]" = me in house robber outside, vs "I [sbj] robber [obj] house in shoot [past]" or "(I [subj] robber [obj]) house in shoot [past]"
Show this thread -
incidentally the original intent of parens was to denote whole clauses used as modifiers and to group modifiers themselves
Show this thread -
I was gonna commasep but then someone pointed out "oh neat how would you do 'or'?" so god help me I might use & and |
Show this thread
End of conversation
New conversation -
-
-
The technical term is “garden path sentence,” I believe: https://en.wikipedia.org/wiki/Garden_path_sentence …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
love the name! modifier scope ambiguity is a bitch. that's what LR(k) grammars are for :) one sol'n would be to have multiple 'in' relations, with different scoping. Or always force proximity to win? Or make the writer parenthesize everything
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.