ruby_parser is a ruby parser written in pure ruby. It outputs s-expressions which can be manipulated and converted back to ruby via the ruby2ruby gem.
476
stars
100
forks
source link
Parentheses can be omitted in one-line pattern matching (Ruby-3.1 support) #329
Closed
ojab closed 2 years ago
https://rubyreferences.github.io/rubychanges/3.1.html#parentheses-can-be-omitted-in-one-line-pattern-matching
should be parsed correctly