News for hackers. Stuff that matters.
Re:Adopting Ruby 3 types with RBS by viraptor on Saturday December 26, 2020 @02:52AM (#25542060)
> Is this because Ruby is extremely difficult to parse, to the point that nobody wanted to mess with the parser?

Unlikely. They're are many Ruby implementations and on top of that rubocop has an independent parser.

Re:Adopting Ruby 3 types with RBS by dragonwriter on Saturday December 26, 2020 @03:16AM (#25542125)
> They're are many Ruby implementations

Not with truly independent parsers; as I understand, most (maybe all) use, either directly or by way of a direct translation, parse.y from MRI.

> and on top of that rubocop has an independent parser.

Rubocop (or, rather, the parser gem it depends on) seems to have an independent lexer and a parser that is a Bison translation (maybe even mechanical, I'm not sure) of MRIs parse.y.