Add WIT lexer by tschneidereit · Pull Request #3017 · pygments/pygments
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 783
Open
tschneidereit wants to merge 5 commits intopygments:masterfrom
Open
Add WIT lexer#3017
tschneidereit wants to merge 5 commits intopygments:masterfrom
Add WIT lexer#3017
tschneidereit wants to merge 5 commits intopygments:masterfrom
Conversation
Copy link
tschneidereit
commented
Jan 13, 2026
tschneidereit
commented
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 added 5 commits
January 12, 2026 16:07This adds a lexer for the [WIT](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md) IDL introduced by the [WebAssembly Component Model specification](https://github.com/WebAssembly/component-model/) In addition to the tests added here, I tested it against the pretty expansive [test suite](https://github.com/bytecodealliance/wit-bindgen/tree/main/tests/codegen) of the [wit-bindgen](https://github.com/bytecodealliance/wit-bindgen) tool, and everything seems to be working as expected.
Copy link
Author
tschneidereit
commented
Jan 15, 2026
tschneidereit commented
Jan 15, 2026I think I now ran all checks locally, so I hope this will pass now. Apologies for the failures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment