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.
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.