Suggestion: Rename positive digit in the EBNF ruleset to nonzero digit #456

Open
opened 2026-02-17 12:06:40 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @dtonhofer on GitHub (Feb 22, 2021).

I suggest to rename the positive digit in the EBNF ruleset to nonzero digit

Because "positive" is not really an adjective applicable to a "digit": it's a digit, not a number.

So we have the digit "zero" expressed by "0" and the other digits, the nonzero digits

Originally created by @dtonhofer on GitHub (Feb 22, 2021). I suggest to rename the `positive digit` in the EBNF ruleset to `nonzero digit` Because "positive" is not really an adjective applicable to a "digit": it's a digit, not a number. So we have the digit "zero" expressed by `"0"` and the other digits, the `nonzero digit`s
GiteaMirror added the questionupdate labels 2026-02-17 12:06:40 -06:00
Author
Owner

@ghost commented on GitHub (Feb 26, 2021):

This is pretty easy to fix and mathematically correct. @dtonhofer do you mind putting in a PR?

@ghost commented on GitHub (Feb 26, 2021): This is pretty easy to fix and mathematically correct. @dtonhofer do you mind putting in a PR?
Author
Owner

@dtonhofer commented on GitHub (Feb 26, 2021):

Okay, will do it later today (hopefully).

@dtonhofer commented on GitHub (Feb 26, 2021): Okay, will do it later today (hopefully).
Author
Owner

@dtonhofer commented on GitHub (Feb 28, 2021):

Submitted a pull request.

https://github.com/semver/semver/pull/673

Note the following:

  • I have not upgrade the version at the top of the page, still at 2.0.0. Technically, should become 2.0.1 (?)
  • I have used the name non-zero digit rather than nonzero digit similar to the existing non-digit.It's a matter of taste.
@dtonhofer commented on GitHub (Feb 28, 2021): Submitted a pull request. https://github.com/semver/semver/pull/673 Note the following: - I have not upgrade the version at the top of the page, still at 2.0.0. Technically, should become 2.0.1 (?) - I have used the name `non-zero digit` rather than `nonzero digit` similar to the existing `non-digit`.It's a matter of taste.
Author
Owner

@ghost commented on GitHub (Mar 1, 2021):

Yes, 2.0.1.

@ghost commented on GitHub (Mar 1, 2021): Yes, 2.0.1.
Author
Owner

@dtonhofer commented on GitHub (Mar 1, 2021):

Changed. Seems to have updated the pull request accordingly.

@dtonhofer commented on GitHub (Mar 1, 2021): Changed. Seems to have updated the pull request accordingly.
Author
Owner

@roniesha1994 commented on GitHub (Mar 21, 2022):

@roniesha1994 commented on GitHub (Mar 21, 2022): >
Author
Owner

@dtonhofer commented on GitHub (Jul 5, 2022):

Good day. What happened to this? It seems to be in limbo. Accept? Reject?

@dtonhofer commented on GitHub (Jul 5, 2022): Good day. What happened to this? It seems to be in limbo. Accept? Reject?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#456