Skip to content

Allow identifiers to be decimal numbers#67

Merged
Imberflur merged 1 commit into
mainfrom
digit-identifiers
Dec 8, 2025
Merged

Allow identifiers to be decimal numbers#67
Imberflur merged 1 commit into
mainfrom
digit-identifiers

Conversation

@Imberflur

Copy link
Copy Markdown
Contributor

No description provided.

@hazelwiss hazelwiss left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, I just want to highlight some stuff about this that could probably need clarification in this PR.

Firstly, in the example I write

1 = 5
a = 1

a is not presumably 1 and not 5, so maybe numeric identifiers should be prefixed by something to better clarify what they are? By what discussion is raw numbers as identifiers acceptable?

Do these identifiers also play into paths? So a::2::b is a possible path?

Can they be used with generics? 2<T>?

I think if these points are further clarified and motivated it makes sense to merge this, maybe even as is.

@hazelwiss hazelwiss left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was discussed on Discord. Approved.

@hazelwiss hazelwiss self-assigned this Dec 8, 2025
@Imberflur Imberflur merged commit 05a2918 into main Dec 8, 2025
1 check passed
@Imberflur Imberflur deleted the digit-identifiers branch December 8, 2025 16:56
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