Skip to content

Commit 971e279

Browse files
authored
Document the current state of the project in the readme (#1069)
1 parent 1b28f77 commit 971e279

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ equivalent source code from Parser's ASTs.
1313
Sponsored by [Evil Martians](http://evilmartians.com).
1414
MacRuby and RubyMotion support sponsored by [CodeClimate](http://codeclimate.com).
1515

16+
> [!WARNING]
17+
> 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`](https://github.com/ruby/prism/blob/main/docs/parser_translation.md) instead.
18+
> 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.
19+
> See this [GitHub issue](https://github.com/whitequark/parser/issues/1046) for more details.
20+
1621
## Installation
1722

1823
$ gem install parser

0 commit comments

Comments
 (0)