~/talk

Default Disambiguation in Online Parsers

Talkat SLE 2019 · 2019-10-20..10-22· [developer-experience]
links:none on file
slides:none on file

An editor prototype uses incremental parsing plus invisible language boxes to detect when an embedded language (Java, PHP, Lua, SQL) is being typed and automatically insert or remove boxes by scanning backward from a parse error and running the embedded language parser. Three heuristics (path, stack, line) generate candidates; evaluation over ~5,000 randomized edits yields 97% acceptable outcomes, 66% full-box inserts, 20.3% incorrect inserts and 0.8% failures, showing the approach works well but still makes some mistakes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:55Why do we need it
  3. 5:07Language Boxes
  4. 6:09Can we automate this
  5. 9:07Heuristics
  6. 10:30Ranking
  7. 11:15In Action
  8. 14:45Evaluation
  9. 17:47Past heuristic
  10. 18:23Stick heuristic
  11. 19:02Line heuristic
  12. 19:42Conclusion
~/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.