Skip to content

feature: spec versioning #58

@t3hmrman

Description

@t3hmrman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions