-
The "X" part of my "XY problem" is that I want to parse Dart language with Pest. Dart grammar is huge, though. There is a machine-readable version for ANTLR4 and I wonder if it would be easier to implement automatic ANTLR4-to-Pest conversion as a part of this endeavor. I understand that ANTLR4 has features that are not supported by Pest. Hopefully, they are not used in the the above mentioned ANTLR4 Dart grammar. Are you aware of similar efforts? Do you see any caveats in ANTLR4-to-Pest conversion that I should be aware of? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think it won't be possible to do the full ANTLR4-to-Pest conversion, but more likely a subset-of-ANTLR4-to-Pest due to their differences. The closest efforts I could find:
|
Beta Was this translation helpful? Give feedback.
I think it won't be possible to do the full ANTLR4-to-Pest conversion, but more likely a subset-of-ANTLR4-to-Pest due to their differences.
I'm not aware of such efforts (but happy to learn if there are such efforts).
The closest efforts I could find: