Skip to content

Update Swift.#12

Open
gonsolo wants to merge 1 commit into
e3b0c442:mainfrom
gonsolo:main
Open

Update Swift.#12
gonsolo wants to merge 1 commit into
e3b0c442:mainfrom
gonsolo:main

Conversation

@gonsolo

@gonsolo gonsolo commented Mar 27, 2025

Copy link
Copy Markdown

No description provided.

@e3b0c442

e3b0c442 commented Mar 27, 2025

Copy link
Copy Markdown
Owner

There is some disparity here with the documentation, the difference it appears being that the documentation focuses on those keywords that can't be used as identifiers (so the strict keywords).

I'll admit that I recompiled this long enough ago that I'm not 100% certain which standard I tried to hold to. Looking at Rust (which currently, if not previously, makes this distinction) does not clear things up, as I have the weak keywords union and 'static but not macro_rules, safe, or raw.

I'm going to take a little time to check some other languages on this list, especially ones where the lever is Open Source (thank you for linking to the Swift source code) and see if I can unmuddy this picture before accepting the PR, as this is quite a fundamental change to how Swift keywords had been tabulated previously.

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