-
-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
parser is no compatible with Ruby > 3.4:
The parser gem is only compatible with the syntax of Ruby 3.3 and lower. For Ruby 3.4 and later, please use the Prism::Translation::Parser instead. Starting in Ruby 3.4, Prism is the parser used in Ruby itself and can produce AST that is identical to the output of the parser gem. If you only need to parse Ruby 3.3 (or greater) and don't require compatibility with the parser gem AST, also consider using the native Prism AST. See this whitequark/parser#1046 for more details.
(https://github.com/whitequark/parser?tab=readme-ov-file#parser)
I wonder if the gem should use Prism::Translation::Parser instead?
Metadata
Metadata
Assignees
Labels
No labels