Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does this grammar file generate the PSI layer of Kotlin source code? #120

Open
Terrency opened this issue Jul 18, 2023 · 2 comments
Open

Comments

@Terrency
Copy link

Does this grammar file have no relationship with the PSI layer of Kotlin source code anymore?

@ice-phoenix
Copy link
Contributor

Hi mate! It was never the intention to have any kind of relationship between the ANTLR grammar and the Kotlin PSI. What are your reasons for wanting this?

@Terrency
Copy link
Author

Hi Ice,
It's great to receive your response. As I have been going through the Kotlin source code, I noticed that it only includes Flex, but there is no BNF syntax section. So when I came across the ANTLR grammar portion here, I was curious about how Kotlin generates the PSI layer code. I wondered if ANTLR's grammar could be used to automatically generate the PSI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants