wgsl-tooling-wg / wesl-spec

A set of well-specified language extensions and tools for WGSL
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Leaving room for experimental features. #38

Open mighdoll opened 5 hours ago

mighdoll commented 5 hours ago

We want people to try making experimental features in wesl linkers as a way to validate feature ideas that we might eventually stabilize into a standard wesl edition.

But it'd be nice if at some experimental features wouldn't break other tools (language servers, prettifiers, etc.). Can we design in some room in the standard wesl syntax for unrecognized extensions?

For example, we could allow unrecognized @ attributes extensively in the syntax.

ncthbrt commented 3 hours ago

Another important aspect of this is the design of our compilers and other tools. If we want to support this, they'll need to be extensible and modular themselves.