Skip to content

Commit 25b5c35

Browse files
Merge pull request #83 from pyscript/ruby-less
Remove Ruby WASM-WASI support
2 parents 0b41c73 + 4eab354 commit 25b5c35

File tree

18 files changed

+65
-214
lines changed

18 files changed

+65
-214
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,13 @@ integration
6969
├ interpreter
7070
│ ├ micropython
7171
│ ├ pyodide
72-
│ ├ ruby-wasm-wasi
7372
│ ├ wasmoon
7473
│ ├ xxx.yy
7574
│ ├ xxx.toml
7675
│ └ utils.js
7776
├ _shared.js
7877
├ micropython.js
7978
├ pyodide.js
80-
├ ruby-wasm-wasi.js
8179
└ wasmoon.js
8280
```
8381

docs/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ We also explicitly use that "_piece of software_" as the interpreter name it ref
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
3636
* [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
37-
* [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
3837

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

@@ -52,10 +51,6 @@ We also explicitly use that "_piece of software_" as the interpreter name it ref
5251
<script type="wasmoon">
5352
print(_VERSION)
5453
</script>
55-
56-
<script type="ruby-wasm-wasi">
57-
print "ruby #{ RUBY_VERSION }"
58-
</script>
5954
```
6055

6156
ℹ️ - 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).
@@ -764,7 +759,6 @@ Please note that if a worker is created explicitly, there won't be any element,
764759
| pyodide | • | • | • | • | • | • |
765760
| micropython | • | • | • | • | • | • |
766761
| wasmoon | • | • | • | ! | • | |
767-
| ruby-wasm-wasi | • | • | • | ! | | |
768762
769763
* **run** allows code to run synchronously and optionally return value
770764
* **runAsync** allows code to run asynchronously and optionally return value

docs/core.js

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

docs/core.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.

esm/custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const registry = new Map();
166166

167167
/**
168168
* @typedef {Object} CustomOptions custom configuration
169-
* @prop {'pyodide' | 'micropython' | 'wasmoon' | 'ruby-wasm-wasi'} interpreter the interpreter to use
169+
* @prop {'pyodide' | 'micropython' | 'wasmoon'} interpreter the interpreter to use
170170
* @prop {string} [version] the optional interpreter version to use
171171
* @prop {string} [config] the optional config to use within such interpreter
172172
*/

esm/interpreter/ruby-wasm-wasi.js

Lines changed: 0 additions & 63 deletions
This file was deleted.

esm/interpreters.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ const register = (interpreter) => {
5858
//:RUNTIMES
5959
import micropython from './interpreter/micropython.js';
6060
import pyodide from './interpreter/pyodide.js';
61-
import ruby_wasm_wasi from './interpreter/ruby-wasm-wasi.js';
6261
import wasmoon from './interpreter/wasmoon.js';
63-
for (const interpreter of [micropython, pyodide, ruby_wasm_wasi, wasmoon])
62+
for (const interpreter of [micropython, pyodide, wasmoon])
6463
register(interpreter);

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<li><a href="/test/isolated.html">isolated</a></li>
2626
<li><a href="/test/fetch.html">config fetch</a></li>
2727
<li><a href="/test/py-events.html">py-* events</a></li>
28-
<li><a href="/test/ruby.html">ruby</a></li>
2928
<li><a href="/test/wasmoon.html">lua</a></li>
3029
<li><a href="/test/async.html">async</a></li>
3130
<li><a href="/test/worker/">worker</a></li>

package-lock.json

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

0 commit comments

Comments
 (0)