Skip to content

Commit 325d15f

Browse files
committed
Document the current state of the project in the readme
1 parent 1b28f77 commit 325d15f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
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 can only correctly parse Ruby code up to and including Ruby 3.3. 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 produces AST that is identical to the output of `parser`. If you only need to parse Ruby 3.3 (or greater), 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)