Remove stray declarations in grammar

Open Beginner friendly
#94 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
72/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
java
Domain
compilers

Research direction

Open src/main/antlr/LJ.g4 at lines 146–147 and inspect the surrounding grammar declarations. Search the grammar for references to both tokens, remove the unused declarations, and verify that the grammar remains valid and the project still builds.

Written by the indexing model from the issue text.

Description

cleanup help wanted

These two lines in the grammar define tokens that aren't used anywhere in the grammar and should be removed.

https://github.com/JMU-CS/less-java/blob/31556a8d2df06de308680cd364ffc769d258036a/src/main/antlr/LJ.g4#L146

https://github.com/JMU-CS/less-java/blob/31556a8d2df06de308680cd364ffc769d258036a/src/main/antlr/LJ.g4#L147

Because these lines are currently not doing anything, I'm going to tag this as a "help wanted" newbie-friendly change that we can leave for someone who has just joined the project and needs something to learn the Git workflow.

Dominant language
Java
Stars
6
Forks
7
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JMU-CS/less-java

All issues in JMU-CS/less-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.