Shopify wrote a new hand-written recursive descent parser. This looks like it will be a great improvement to the Ruby ecosystem!

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 years ago

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

  • source