~/talk

Vertical Assignment in Ruby

Talkat RubyConf 2021 · 2021-11-08..11-10· [ruby]

Claims a working vertical assignment by adding a vequals operator implemented as a unicode token, and demonstrates it with Ripper and TracePoint plus eval and binding hacks. The code performs just-in-time variable declaration by lexing source lines, creating pseudo‑locals, and assigning values across adjacent lines; it is slow, brittle (breaks puts and normal scoping), and clearly non‑production, but the demo works, supports multiple stacked assignments, and the full code lives on GitHub as the uploader promises.

AI-written summary · about

  1. 0:00Start
  2. 0:12Leftward Assignment
  3. 1:01Vertical Assignment in Ruby
  4. 8:29Just in Time Variable Declaration
  5. 12:16Line Splitting
  6. 13:16Ripper
  7. 15:03Lex
  8. 18:16Approach
  9. 21:52Upwards Assignment
  10. 24:28A 20 to 30 Second Pitch for Your Employer
~/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.