Shopify wrote a new hand-written recursive descent parser. This looks like it will be a great improvement to the Ruby ecosystem!
Rewriting the Ruby parser
https://railsatscale.com/2023-06-12-rewriting-the-ruby-parser/
https://railsatscale.com/2023-06-12-rewriting-the-ruby-parser/
Shopify wrote a new hand-written recursive descent parser. This looks like it will be a great improvement to the Ruby ecosystem!
1 Comments
HParker@programming.dev · 2 pts · 3y
Really excited about YARP. it does some clever things for error recovery that I think should improve Ruby parsing in a bunch of ways.
The sources they list for error recovery are worth a read: https://github.com/ruby/yarp/blob/main/docs/design.md#error-tolerance