Skip to content

Commit b6eeed3

Browse files
Merge pull request #176 from pyscript/v0.21
Breaking - cleanup + remote packages in
2 parents 25260c1 + a1498a9 commit b6eeed3

57 files changed

Lines changed: 496 additions & 629 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/README.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ We also explicitly use that "_piece of software_" as the interpreter name it ref
3333

3434
* [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
3535
* [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
3936

4037
`<script>` tags specify which *interpreter* to use via the `type` attribute. This is typically the full name of the interpreter:
4138

@@ -49,18 +46,6 @@ We also explicitly use that "_piece of software_" as the interpreter name it ref
4946
import sys
5047
print(sys.version)
5148
</script>
52-
53-
<script type="ruby-wasm-wasi">
54-
print "ruby #{ RUBY_VERSION }"
55-
</script>
56-
57-
<script type="wasmoon">
58-
print(_VERSION)
59-
</script>
60-
61-
<script type="webr">
62-
print(R.version.string)
63-
</script>
6449
```
6550

6651
ℹ️ - 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,
818803
| :------------- | :---: | :--------: | :--------: | :----------------: | :---------: | :---------: |
819804
| pyodide | • | • | • | • | • | • |
820805
| micropython | • | • | • | • | • | • |
821-
| ruby-wasm-wasi | • | • | • | ! | | |
822-
| wasmoon | • | • | • | ! | • | |
823-
| webr | r | • | re | | | |
824806
825807
* **run** allows code to run synchronously and optionally return value
826808
* **runAsync** allows code to run asynchronously and optionally return value
827809
* **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.
829811
* **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.
830812
* **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.
831813

docs/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pyodide_graph-BvONa7d5.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pyodide_graph-BvONa7d5.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)