~/talk

Time flies like an arrow; Fruit flies like a banana: Parsers for Great Good

Talkat RubyConf 2015 · 2015-11-15..11-17· [ruby]
links:none on file
slides:none on file

Claim: human sentence parsing maps to programming-language parsing, demonstrated by building a tokenizer, a top-down recursive descent parser and a bottom-up shift-reduce parser, and by showing how a grammar file becomes a generated parser (RACC/Bison) from a real Rails parser.y. Examples include a working arithmetic AST, the AB balanced example that proves context-free, and a note that real servers (Jetty) used parsers and suffered a parsing-related vuln.

AI-written summary · about

  1. 0:00Introduction to parsing
  2. 2:16Parsing human language
  3. 5:12Ambiguity and grammar rules
  4. 7:50Computer language parsing
  5. 10:45Building a simple lexer
  6. 12:39Top-down parsing
  7. 17:55Bottom-up parsing
  8. 21:54Parser generators
  9. 23:25When to use a parser
  10. 25:25Language hierarchies
  11. 29:32Practical benefits and resources
~/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.