~/talk

Time flies like an arrow, fruit flies like a banana

Talkat Ruby on Ales 2015 · 2015-03-05..03-06· [compilers-and-language-design]
links:none on file
slides:none on file

Shows why natural language garden-path ambiguity maps to code parsing and demonstrates a working Ruby example: a StringScanner tokenizer feeding a parser that builds ASTs for simple math (handles parentheses, plus/times). Compares hand‑rolled recursive descent (easy but can loop and mis-handle associativity) with bottom‑up shift‑reduce (stack reductions, LR style), cites parser generators like Yacc/Bison/Racc, and argues regexes fail for non‑regular grammars such as URLs.

AI-written summary · about

  1. 0:00Start
  2. 3:01ADA DEVELOPERS
  3. 6:32Garden Path Sentences
  4. 7:15GRANDMOTHER OF EIGHT MAKES HOLE IN ONE
  5. 7:29EYE DROPS OFF SHELF
  6. 7:40MILK DRINKERS ARE TURNING TO POWDER
  7. 9:29The young man drank beer"/ "The young man the boat
  8. 13:25Slightly Harder Math Rules
  9. 17:06Problems with Recursive Descent parsers
  10. 24:08Language Hierarchy
  11. 28:16Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.