2
Rewriting the Ruby parser (railsatscale.com)
submitted 2 years ago by [email protected] to c/[email protected]

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 new old
[-] [email protected] 2 points 2 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

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

Ruby

622 readers
1 users here now

A community for discussion and news about Ruby programming.

Learning Ruby?

Tools

Documentation

Books

Screencasts

News and updates

founded 2 years ago
MODERATORS