Thoughts

mental health break ,./'"**^^$_---
Prism is like cool because it's portable C99 until you get to the comment handling at which point it's templated Ruby code.
=> https://github.com/ruby/prism/blob/7ae3f03840359e611099bd505be84a3e4337f6ea/templates/lib/prism/node.rb.erb#L364 (erb is a template language, think Handlebars or whatever with {{}} except it uses <%%> with Ruby in-between. Normally you use it to generate html, so .html.erb but here we're using it to generate Ruby. So this is ruby code that generates more ruby code.) Like what am I supposed to do? Edit (Oct 19, 12:08pm): Guys, don't worry, it's fast. It uses a binary search to find the comment targets. (Please ignore 7 lines earlier where it sorts the list.) => https://github.com/ruby/prism/blob/12af4e144e9b298accda6e3163f543cf32839b16/lib/prism/parse_result/comments.rb#L143-L143
Link 10:49 p.m. Oct 16, 2025 UTC-4