Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Identifier as a type, not an alias #47

Open
hadronized opened this issue Nov 18, 2018 · 1 comment
Open

Add Identifier as a type, not an alias #47

hadronized opened this issue Nov 18, 2018 · 1 comment

Comments

@hadronized
Copy link
Owner

That type would ensure the grammar is respected:

  • It doesn’t have its first character a digit or anything else than a lowercase or uppercase ASCII alpha.
  • It’s not empty.
@hadronized hadronized added this to Backlog in Semantics Analysis via automation Nov 18, 2018
hadronized added a commit that referenced this issue Nov 20, 2018
They’re now type wrappers and not type aliases. Also, add the TypeName
type wrapper.
hadronized added a commit that referenced this issue Nov 20, 2018
They’re now type wrappers and not type aliases. Also, add the TypeName
type wrapper.
hadronized added a commit that referenced this issue Nov 20, 2018
They’re now type wrappers and not type aliases. Also, add the TypeName
type wrapper.
@hadronized hadronized moved this from Backlog to WIP in Semantics Analysis Nov 20, 2018
@hadronized
Copy link
Owner Author

It’s not an alias anymore, but type safety is not enforced. We have to take care of that.

hadronized added a commit that referenced this issue Nov 21, 2018
Those functions are not enforced (yet), as people can still use the
From<&str> / From<String> interface, but we’re getting there.
hadronized added a commit that referenced this issue Nov 21, 2018
Those functions are not enforced (yet), as people can still use the
From<&str> / From<String> interface, but we’re getting there.
@hadronized hadronized moved this from WIP to Backlog in Semantics Analysis Nov 24, 2018
@hadronized hadronized moved this from Backlog to WIP in Semantics Analysis Nov 24, 2018
@hadronized hadronized added this to In progress in glsl-4.0 Nov 21, 2019
@hadronized hadronized moved this from In progress to To do in glsl-4.0 Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
glsl-4.0
  
To do
Development

No branches or pull requests

1 participant