Language Extension with Antlr4
Answered
First of all I would like to say that JetBrains provides fantastic tools for software development.
My question is: Besides the Backus-Naur-form (.bnf) which is used for generating lexer's and Flex for parser's. Is it possible and or planned to have fudametal support for other grammar tools like ANTLR for writing language plugins?
Any thoughts or suggestions?
- Christoph
Please sign in to leave a comment.
Hi Christoph,
Thank you for kind words 🙂
There is no official solution, but ANTLR provides an adapter converting ANTLR trees to PSI trees:
https://github.com/antlr/antlr4-intellij-adaptor
Hi Karol
Thanks for the quickreply.
I'll give the adaptor a try.
All in all, thanks for your help.
- Christoph