gpuweb icon indicating copy to clipboard operation
gpuweb copied to clipboard

remove keywords that are context-dependent names

Open dneto0 opened this issue 3 years ago • 3 comments

dneto0 avatar Jul 07 '22 14:07 dneto0

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

dneto0 avatar Jul 07 '22 14:07 dneto0

This should follow #3167 to avoid conflicts.

dneto0 avatar Jul 07 '22 14:07 dneto0

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.

kdashg avatar Aug 02 '22 07:08 kdashg