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

1 comment

sorted by: hot top controversial new old
[–] 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