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

Antlr4 Grammer for Fortran 90/95 #3399

Closed
AkhilAkkapelli opened this issue May 9, 2023 · 4 comments
Closed

Antlr4 Grammer for Fortran 90/95 #3399

AkhilAkkapelli opened this issue May 9, 2023 · 4 comments
Labels

Comments

@AkhilAkkapelli
Copy link

AkhilAkkapelli commented May 9, 2023

Can someone add a Antlr4 grammar for Fortran 90/95 or any above version of Fortran to the repository as I am seeking it?

@AkhilAkkapelli AkhilAkkapelli changed the title Grammer for Fortran 90/95 Antlr4 Grammer for Fortran 90/95 May 9, 2023
@kaby76
Copy link
Contributor

kaby76 commented May 10, 2023

As noted in the antlr-discussion thread, there are two grammars written, but neither have been submitted by the authors to the repo. The best would be to just scrape the grammar (by automated means) from the Spec, but that costs a lot of money.

@AkhilAkkapelli
Copy link
Author

@kaby76 Thank you for taking the time to respond to my email and offer some suggestions for finding the Lexer and Parser grammar for Fortran 90/95 using Antlr4.

I appreciate the links you have provided to the two grammars written. I will take a closer look at these and see if they meet the requirements of my project and see if they are helpful for my project.

Best regards
Akhil

@kaby76
Copy link
Contributor

kaby76 commented May 10, 2023

Please reopen. This is a "to do" item. Fortran version 90 and all the many others need to be added.

@kaby76
Copy link
Contributor

kaby76 commented Jun 5, 2023

This should now be closed. Implemented in #3501 and #3510

@KvanTTT KvanTTT closed this as completed Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants