Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

REFACTOR: do not convert operators to lower case

Open
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
tooling

Research direction

Start by tracing the tokenization process described in the issue and identify where incoming operators are converted to lower case. Confirm how later processing consumes the tokens, then preserve the original operator case and verify that SPDX expression behavior remains correct.

Written by the indexing model from the issue text.

Description

refactor

The original javascript converted incoming operators (e.g. AND) to lower case (e.g. and) during the tokenization process. The initial translation stayed as close to the original javascript as possible and reasonable with assumptions that a later process would require the output to be in the format created in the javascript.

I do not see the need for this case conversion in later processing. Recommending a refactor to not convert operators case.

Dominant language
Go
Stars
53
Forks
16
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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 github/go-spdx

All issues in github/go-spdx

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.