Language Extension with Antlr4

已回答

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

0

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

0

Hi Karol

Thanks for the quickreply.

I'll give the adaptor a try. 
All in all, thanks for your help.

- Christoph

0

请先登录再写评论。