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

feature: spec versioning #58

Open
t3hmrman opened this issue Mar 5, 2025 · 0 comments
Open

feature: spec versioning #58

t3hmrman opened this issue Mar 5, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@t3hmrman
Copy link

t3hmrman commented Mar 5, 2025

Motivation

Right now, weedle has no way to indicate/control what version of the spec is being read. This can lead to code that is reliant on older features of WebIDL to parse, but not be usable from downstream consumers that expect a more recent version.

One concrete example is the usage of void as a function return which was removed from the spec (undefined should be used instead).

Proposed Solution

If possible, we should add spec-version-aware handling/parsing.

Alternatives

N/A

Additional Context

wasi-gfx/webidl2wit#42

@t3hmrman t3hmrman added the enhancement New feature or request label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant