@@ -30,9 +30,9 @@ between bindings definitions.
30
30
[ component model ] : https://github.com/WebAssembly/component-model
31
31
32
32
The ` wit-bindgen ` repository is currently focused on ** guest** programs which
33
- are those compiled to WebAssembly.
34
- Languages developed in this repository are Rust, C, Java (TeaVM
35
- Java), Go (TinyGo), and C#.
33
+ are those compiled to WebAssembly. Languages developed in this repository are
34
+ Rust, C, C++, and C#. For other languages see the [ documentation
35
+ below ] ( #guest-other-languages ) .
36
36
37
37
Executing a component in a host is not
38
38
managed in this repository, and some options of how to do so are [ described
@@ -392,7 +392,7 @@ wit-bindgen-go generate <path-to-wit-pkg>
392
392
393
393
### Guest: C++-17+
394
394
395
- The cpp crate contains code to generate C++ code which uses the std types
395
+ The cpp crate contains code to generate C++ code which uses the std types
396
396
optional, string, string_view, vector, expected to represent generic
397
397
WIT types.
398
398
@@ -426,16 +426,19 @@ To avoid touching the files during regeneration (including `moon.pkg.json` or `m
426
426
427
427
### Guest: Other Languages
428
428
429
- Guest component support for JavaScript and Python is available in
430
- [ componentize-js] ( https://github.com/bytecodealliance/ComponentizeJS ) and
431
- [ componentize-py] ( https://github.com/bytecodealliance/componentize-py ) , respectively.
429
+ A (non-exhaustive) list of other languages known to support components are:
430
+
431
+ * JavaScript through [ componentize-js] ( https://github.com/bytecodealliance/ComponentizeJS )
432
+ * Python through [ componentize-py] ( https://github.com/bytecodealliance/componentize-py )
433
+ * Go through [ wit-bindgen-go] ( https://github.com/bytecodealliance/go-modules ) .
434
+
432
435
See also
433
436
[ The WebAssembly Component Model developer's guide] ( https://component-model.bytecodealliance.org/language-support.html )
434
437
for examples of how to build components using various languages.
435
438
436
439
Other languages such as Ruby, etc, are hoped to be supported one day
437
440
with ` wit-bindgen ` or with components in general. It's recommended to reach out
438
- on [ zulip] if you're intersted in contributing a generator for one of these
441
+ on [ zulip] if you're interested in contributing a generator for one of these
439
442
langauges. It's worth noting, however, that turning an interpreted language into
440
443
a component is significantly different from how compiled languages currently
441
444
work (e.g. Rust or C/C++). It's expected that the first interpreted language
0 commit comments