ruby-syntax-tree / syntax_tree

Interact with the Ruby syntax tree
https://ruby-syntax-tree.github.io/syntax_tree/
MIT License
563 stars 54 forks source link

[WIP] Use YARP as the backend #389

Closed kddnewton closed 11 months ago

kddnewton commented 1 year ago

Just opening this PR to track progress toward using YARP as the new parser. Currently only targeting the formatting tests, which is getting us relatively far. To check the progress, run:

bundle exec ruby -Ilib -Itest test/formatting_test.rb

with a version of Ruby that has YARP integrated.