RaspberryPiFoundation / editor-ui

Code Editor web component
https://editor-static.raspberrypi.org
Apache License 2.0
37 stars 9 forks source link

Add a Pyodide runner based on the python-execution-prototypes #893

Closed tuzz closed 5 months ago

tuzz commented 6 months ago

This pull request adds experimental support for running Python programs using Pyodide. The code is based on the python-execution-prototypes and the technical analysis document. The related GitHub issue is https://github.com/RaspberryPiFoundation/editor-ui/issues/891.

The PyodideRunner.jsx can be used instead of the current PythonRunner.jsx (Skulpt) by provided a ?pyodide=true parameter in the URL as shown in the screenshot below:

Screenshot 2024-01-30 at 11 39 01

Notes

The PyodideRunner supports the following features:

Due to time constraints, the following tasks remain outstanding:

github-actions[bot] commented 6 months ago
github-actions[bot] commented 6 months ago
github-actions[bot] commented 6 months ago
github-actions[bot] commented 5 months ago
github-actions[bot] commented 5 months ago
github-actions[bot] commented 5 months ago
github-actions[bot] commented 5 months ago
sra405 commented 5 months ago

Due to time constraints, the following tasks remain outstanding:

I'll make a general ticket to list the remaining work, feel free to add any additional bits or comments 👍