Skip to content

Commit

Permalink
Many fixes and added a wasmer loader to bring in modules from wasmer.io
Browse files Browse the repository at this point in the history
- Add coi-serviceworker to work around cross-origin problems with `SharedArrayBuffer`.
- Add Bash, jq, Python (disabled) and Ruby.
- Update tests because of changes in Puppeteer API.
- Add generalised `Runner` to replace directly using `Worker`s to allow the WASM runtime in the main browser window.
- Make `Base64` slightly less greedy when detecting input - still too greedy!
- Fix bug where highlighting was missing when changing languages.
  • Loading branch information
dom111 committed May 14, 2024
1 parent cb3234e commit d3e40d2
Show file tree
Hide file tree
Showing 39 changed files with 608 additions and 257 deletions.
4 changes: 2 additions & 2 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
- [X] Add `Code` renderer to syntax highlight quines or other code output.
- [X] Responsive view
- [X] Fix the mime selector as that has some undesirable behaviour when editing at the moment.
- [X] Add Ruby (https://runrb.io/)
- [ ] Check a bunch of existing answers and fix what's broken
- [ ] Verify `LICENSE`s before adding one here
- [ ] Clean up the used `webperl` implementation (to make updating easier)
- [ ] Add different versions of Perl (older versions supporting `?..?` in `s///`, literal `$^V`, etc)
- [ ] Add PHP (https://github.com/oraoto/pib)
- [ ] Add Ruby (https://runrb.io/)
- [ ] Add Python (https://pyodide.org/)
- [-] Add Python (https://pyodide.org/)
- [ ] Add C#? (https://blazor.net/)
- [ ] Maybe add bash via jslinux somehow? (https://bellard.org/jslinux/)
- [ ] Accessibility (aria-label of all fields etc)
Expand Down
7 changes: 7 additions & 0 deletions coi-serviceworker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions coi-serviceworker.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d3e40d2

Please sign in to comment.