antlr / antlr/antlr5

Rename grammars suffix from g4 to g5

Open
#13 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
75
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Since we'll be evolving grammar syntax, there is a need to prevent false bugs in antlr4, caused by antlr5 syntax unsupported in antlr4. This is easy to achieve by changing the grammar file extension from g5 to g5.

Contributor guide

Open the contributing guide

Research direction

The issue requests changing the grammar-file suffix, but its title says g4 to g5 while the body says g5 to g5. No files or tests are named, so first clarify the intended direction and locate where grammar filenames are handled. Done means the chosen suffix is applied consistently and prevents antlr4 from accepting incompatible antlr5 syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.