One of the darkest sides of Ruby is the parser. I tried to fix the notation or the syntax of ruby so as to understand the MRI implementation more deeply. This talk will introduce how input codes are parsed, and how to cook the parser for a programmer who has never looked the ruby implementation's source codes.
Do you imagine the world like the following Ruby code works?
def MyClass#hi(x) {:aaa => ++x, 'bbb => ++x } end
f({|x| x * 2}, {|x, y| x + y}, {1 :-) 2i})
It would be better ...
View More