~/talk

Formatting for the Masses Part II

links:none on file
slides:none on file

Demonstrates two concrete formatters: a grammar-based system using Codebuff + ANTLR that trains on token vectors computed from 21 grammar-derived features and uses k nearest neighbors with k=11 neighbors, and a Deep Learning prototype that learns whitespace and linebreak decisions from token windows. Both integrate with Eclipse/Xtext, the ML model reaches about 95–98% on Google Guava after hours of one‑time training, and the prototypes work on Java and DSL samples but remain experimental, not production-ready.

AI-written summary · about

  1. 0:00Start
  2. 1:31But there are already formatters out there!
  3. 2:24Manual Formatting FTW
  4. 2:56Xtext Rich API to Define Formatters
  5. 22:36Let's try it out
~/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.