Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Continuations in Natural Language (2004) [pdf] (bham.ac.uk)
30 points by quazar on March 3, 2019 | hide | past | favorite | 2 comments


I think I understand this. In "he only drinks soda", The token "only" opens the opportunity for "fcontrol" (like yield in a generator) to be resolved at a yet-to-be-determined position in the sentence. So if you "run" the function of `only { f(drink) soda }` or `only { drink f(soda) }`, `drink soda` is an independent construction by itself, but this pitch accent allows an additional information channel to be threaded through it.

I imagine generalizing this, not just "fcontrol" but other information-awaiters, it would be like functions wrapped in decorators of the various yield-channels they can emit to. Probably someone already does this.


After skimming the paper without having a strong understanding of continuations, chapter 4 on focused/stressed words was the most understandable to me, I recommend to start there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: