~/talk

Semantic Highlighting in TLA+

Talkat TLA+ Conference 2021 · on Thursday, 2021-09-30· [developer-experience]
links:none on file
slides:none on file

A tree‑sitter grammar for TLA+ provides an error‑tolerant, incremental parse tree that highlights by actual node types rather than regexes, supports queries to distinguish variables constants and operators, enables code folding and lint‑style checks, and runs in the browser via WebAssembly. Live demos show on‑the‑fly conversion to math symbols with unicode live translation, a published npm/rust/TS package and tree-sitter bindings, and a working Neovim plugin that adds semantic highlighting, folding, and typing abbreviations.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:31What is Tree-sitter
  3. 8:53Semantic highlighting vs syntax
  4. 12:44Live demo of Tree-sitter grammar
  5. 16:18Consuming the TLA+ grammar
  6. 18:23Unicode support in TLA+
  7. 23:37Code folding and proofs
  8. 24:40TLA+ parsing quirks
  9. 29:13Contributing and future work
  10. 33:44Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.