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
Copy file name to clipboardExpand all lines: docs/README.md
+1-19Lines changed: 1 addition & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,6 @@ We also explicitly use that "_piece of software_" as the interpreter name it ref
33
33
34
34
*[pyodide](https://pyodide.org/en/stable/index.html) is the name of the interpreter that runs likely the most complete version of latest *Python*, enabling dozen official modules at run time, also offering a great *JS* integration in its core
35
35
*[micropython](https://micropython.org/) is the name of the interpreter that runs a small subset of the *Python* standard library and is optimized to run in constrained environments such as *Mobile* phones, or even *Desktop*, thanks to its tiny size and an extremely fast bootstrap
36
-
*[ruby-wasm-wasi](https://github.com/ruby/ruby.wasm) is the name of the (currently *experimental*) interpreter that adds *Ruby* to the list of programming languages currently supported
37
-
*[wasmoon](https://github.com/ceifa/wasmoon) is the name of the interpreter that runs *Lua* on the browser and that, among the previous two interpreters, is fully compatible with all core features
38
-
*[webr](https://docs.r-wasm.org/webr/latest/) is the name of the (currently *experimental*) interpreter that adds *R* to the list of programming languages currently supported
39
36
40
37
`<script>` tags specify which *interpreter* to use via the `type` attribute. This is typically the full name of the interpreter:
41
38
@@ -49,18 +46,6 @@ We also explicitly use that "_piece of software_" as the interpreter name it ref
49
46
import sys
50
47
print(sys.version)
51
48
</script>
52
-
53
-
<scripttype="ruby-wasm-wasi">
54
-
print "ruby #{ RUBY_VERSION }"
55
-
</script>
56
-
57
-
<scripttype="wasmoon">
58
-
print(_VERSION)
59
-
</script>
60
-
61
-
<scripttype="webr">
62
-
print(R.version.string)
63
-
</script>
64
49
```
65
50
66
51
ℹ️ - Please note we decided on purpose to not use the generic programming language name instead of its interpreter project name to avoid being too exclusive for alternative projects that would like to target that very same Programming Language (i.e. note *pyodide* & *micropython* not using *python* indeed as interpreter name).
@@ -818,14 +803,11 @@ Please note that if a worker is created explicitly, there won't be any element,
* **run** allows code to run synchronously and optionally return value
826
808
* **runAsync** allows code to run asynchronously and optionally return value
827
809
* **runEvent** allows events to be invoked and receive the `event` object
828
-
* **registerJSModule** allows `from polyscript import Xworker` or registration of arbitrary modules for *custom types*. It currently fallback to globally defined reference (the module name) whenever it's not possible to register a module (i.e. `polyscriptXWorker`in Lua or `$polyscript.XWorker`in Ruby).
810
+
* **registerJSModule** allows `from polyscript import Xworker` or registration of arbitrary modules for *custom types*. It currently fallback to globally defined reference (the module name) whenever it's not possible to register a module.
829
811
***writeFile** it's used to save *fetch* config files into virtual FS (usually the one provided by Emscripten). It is then possible to import those files as module within the evaluated code.
830
812
* **transform** allows `xworker.sync` related invokes to pass as argument internal objects without issues, simplifying as example the dance needed with *pyodide* and the `ffi.PyProxy` interface, automatically using `.toJs()` for better DX.
0 commit comments