Vertical Assignment in Ruby
summary
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
chapters (10)
- 0:00Start
- 0:12Leftward Assignment
- 1:01Vertical Assignment in Ruby
- 8:29Just in Time Variable Declaration
- 12:16Line Splitting
- 13:16Ripper
- 15:03Lex
- 18:16Approach
- 21:52Upwards Assignment
- 24:28A 20 to 30 Second Pitch for Your Employer








