Add WIT lexer by tschneidereit · Pull Request #3017 · pygments/pygments

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@tschneidereit

Copy link

This adds a lexer for the WIT IDL introduced by the WebAssembly Component Model specification

In addition to the tests added here, I tested it against the pretty expansive test suite of the wit-bindgen tool, and everything seems to be working as expected.

@tschneidereit

Copy link

Author

I think I now ran all checks locally, so I hope this will pass now. Apologies for the failures.

@birkenfeld birkenfeld added the new lexer

PRs with wholly new lexers

label

Feb 20, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

new lexer

PRs with wholly new lexers

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@tschneidereit @birkenfeld