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

Fix grammar warnings #587

Merged
merged 8 commits into from
Mar 16, 2021
Merged

Fix grammar warnings #587

merged 8 commits into from
Mar 16, 2021

Conversation

bobismijnnaam
Copy link
Contributor

When vercors is compiled, the antlr fork emits warnings about heavy use of EBNF in all grammar files. This PR tries to simplify the heavy use of EBNF into straightforward EBNF, by factoring complex rules into multiple simpler rules. This gets rid of the warnings and hopefully maintains the language we are accepting.

@bobismijnnaam bobismijnnaam temporarily deployed to Default February 11, 2021 15:52 Inactive
@bobismijnnaam bobismijnnaam marked this pull request as draft February 11, 2021 15:52
@bobismijnnaam bobismijnnaam temporarily deployed to Default February 12, 2021 09:48 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default February 12, 2021 09:48 Inactive
@sonarcloud
Copy link

sonarcloud bot commented Feb 12, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@bobismijnnaam bobismijnnaam temporarily deployed to Default February 12, 2021 10:09 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default February 12, 2021 10:09 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default February 12, 2021 10:10 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default February 12, 2021 10:10 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default February 12, 2021 13:35 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default February 12, 2021 13:35 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default March 8, 2021 14:51 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default March 8, 2021 14:55 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default March 8, 2021 14:55 Inactive
@bobismijnnaam bobismijnnaam marked this pull request as ready for review March 9, 2021 14:03
parsers/build.sbt Show resolved Hide resolved
parsers/lib/antlr4/LangCParser.g4 Outdated Show resolved Hide resolved
parsers/lib/antlr4/LangJavaParser.g4 Show resolved Hide resolved
@bobismijnnaam
Copy link
Contributor Author

@Vescatur If my comments are sufficient please resolve the comments or request changes if necessary.

@bobismijnnaam bobismijnnaam temporarily deployed to Default March 16, 2021 08:39 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default March 16, 2021 08:39 Inactive
@sonarcloud
Copy link

sonarcloud bot commented Mar 16, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@bobismijnnaam bobismijnnaam merged commit 7bf6cb8 into dev Mar 16, 2021
@bobismijnnaam bobismijnnaam deleted the fix-grammar-warnings branch March 16, 2021 08:59
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

Successfully merging this pull request may close these issues.

2 participants