Stream: general

Topic: PSA: wit-bindgen syntax change


view this post on Zulip Dan Gohman (Dec 21 2021 at 18:18):

As a heads-up to anyone working with wit-bindgen; as of this PR, the syntax for identifiers and is now enforced to be kebab-case (rather than CamelCase or snake_case).

Background: Identifiers in wit, such as function and type names, as well as argument and return value names, are mapped into source languages following the conventions of the source languages. For ...

view this post on Zulip Dan Gohman (Dec 21 2021 at 18:20):

The specifics are still open for feedback. The general idea is, we want to make sure we can always map identifiers into snake_case and CamelCase within language bindings, and in general we want to promote a consistent naming style in wit files.


Last updated: Nov 22 2024 at 16:03 UTC