Conversation
Before:
```
0...3: tIDENTIFIER => "foo"
4...5: tLPAREN_ARG => "("
5...6: tLPAREN2 => "("
6...7: tINTEGER => 1
7...9: tDOT2 => ".."
9...10: tINTEGER => 1
10...11: tRPAREN => ")"
11...12: tRPAREN => ")"
12...13: tNL => nil
```
After:
```
0...3: tIDENTIFIER => "foo"
4...5: tLPAREN_ARG => "("
5...6: tLPAREN => "("
6...7: tINTEGER => 1
7...9: tDOT2 => ".."
9...10: tINTEGER => 1
10...11: tRPAREN => ")"
11...12: tRPAREN => ")"
12...13: tNL => nil
```
|
You are doing amazing work here, btw. Thank you so much for digging into this, it has been on my list for so long and now it's actually getting really close! |
|
Thanks! I hope to have the translator be the only parser for RuboCop on new Ruby versions starting with 3.5 (rubocop/rubocop#13617) since it will be pretty hard to keep up otherwise with the parser deprecation and all that. I think it's doing a damn well job already, so kudos to you for starting it, especially the ast is in a very good state. Just a handful of discrepancies I notice, in addition to the tests available here. It'll be an interesting question on how to handle |
Before:
After: