3 ms·
> 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 implementation
by viraptor 6y ago
> 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.
- dragonwriter 6y ago> 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.