2
Rewriting the Ruby parser (railsatscale.com)

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
[-] 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

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

Ruby

0 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