You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will run the `pluginlab` binary which will itself:
233
249
234
250
- load and compile the `repl_logic_guest.wasm` file inside the embedded `wasmtime` engine injecting the [`host-api`](./crates/pluginlab/wit/host-api.wit) interface
235
-
- load and compile the `plugin_*.wasm` files into the engine, injecting the [`plugin-api`](./crates/pluginlab/wit/plugin-api.wit) interface
251
+
- load and compile the `plugin*.wasm` files passed via `--plugins` into the engine, injecting the [`plugin-api`](./crates/pluginlab/wit/plugin-api.wit) interface
236
252
- launch the REPL loop executing the code from the `repl_logic_guest.wasm` file which will:
237
253
- readline from the user
238
254
- parse the command
@@ -336,7 +352,7 @@ To be sure that the preview server is up and running before running the tests, w
336
352
337
353
### plugins
338
354
339
-
There are currently plugins implemented in 3 languages (most of them are in rust):
355
+
There are currently plugins implemented in 3 languages (most of them are in rust), their toolchain is already setup in the project, you just have to write the plugin code and run `just build`.
340
356
341
357
#### Rust
342
358
@@ -346,6 +362,10 @@ You can write plugins in rust in [`crates/plugin-*`](./crates).
346
362
347
363
You can write plugins in C in [`c_modules/plugin-*`](./c_modules), thanks to `wit-bindgen` (based on [wit-bindgen](https://github.com/bytecodealliance/wit-bindgen)).
348
364
365
+
#### Go
366
+
367
+
You can write plugins in Go in [`go_modules/plugin-*`](./go_modules), thanks to [TinyGo Compiler](https://tinygo.org/getting-started/install/).
368
+
349
369
#### TypeScript
350
370
351
371
You can also write plugins in TypeScript in [`packages/plugin-*`](./packages), thanks to `jco componentize` (based on [componentize-js](https://github.com/bytecodealliance/componentize-js)).
@@ -383,14 +403,15 @@ When a git tag is pushed, a pre-release is prepared on github, linked to the tag
0 commit comments