this post was submitted on 16 Jun 2023
3 points (100.0% liked)

Ruby

527 readers
1 users here now

A community for discussion and news about Ruby programming.

Learning Ruby?

Tools

Documentation

Books

Screencasts

News and updates

founded 1 year ago
MODERATORS
 

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

top 1 comments
sorted by: hot top controversial new old
[–] HParker@programming.dev 2 points 1 year 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