gpuweb
gpuweb copied to clipboard
remove keywords that are context-dependent names
With context-aware tokenization, we don't need to make context-dependent names into keywords.
See the list at: https://gpuweb.github.io/gpuweb/wgsl/#context-dependent-name-tokens
This should follow #3167 to avoid conflicts.
WGSL meeting minutes 2022-07-26
- DN: It’s a TODO and there is a PR to remove type names
- DS: LGTM
- KG: So, could say let align = 2; and that’s OK?
- DN: Yes. let flat = 4; etc.
- KG: const const = 3?
- DN: No, const is a keyword. Auto is still reserved.
- KG: Sounds right. Will see final list when PR goes up.