Skip to content

Commit 71432af

Browse files
authored
Merge pull request #3520 from Earlopain/parser-prism-together
2 parents 3ca1bbc + bf79ef2 commit 71432af

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/parser_translation.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Prism::Translation::ParserCurrent.parse("puts 'Hello World!'")
2020

2121
All the parsers are autoloaded, so you don't have to worry about requiring them yourself.
2222

23+
If you also need to parse Ruby versions below 3.3 (which `prism` has no support for), check out
24+
[this guide](https://github.com/whitequark/parser/blob/master/doc/PRISM_TRANSLATION.md) from the `parser` gem on how to use both in conjunction.
25+
2326
### RuboCop
2427

2528
Prism as a parser engine is directly supported since RuboCop 1.62.

0 commit comments

Comments
 (0)