webwriter-app / code

Executable code cell
MIT License
0 stars 0 forks source link

`code` #1

Open salmenf opened 1 year ago

salmenf commented 1 year ago

ww-code (or originally ww-code-cell) is the first widget for WebWriter that was made by a student. We still need to do a lot of work to make it usable in WebWriter.

Package:

Integration:

Features:

UI:

salmenf commented 1 year ago

Some might be fixed already in Jorik's local version, just listing all I noticed in ww-code@0.2.0:

salmenf commented 1 year ago

Look into Python code execution with Pyodide:

Blob URLs for dependencies of Pyodide?

salmenf commented 1 year ago

See https://github.com/webwriter-app/ww-image/issues/1#issuecomment-1652124561

salmenf commented 1 year ago

We need to prepare the code widget for use in the Explorable JS WebTech course:

K1R0J commented 1 year ago

JS Code execution now uses Function() instead of eval(). Therefore to see the result someone has to return it. To access the global variables, use this for initial definition

salmenf commented 1 year ago

Thanks for the update! I found some issues and have further ideas:

salmenf commented 11 months ago
salmenf commented 1 week ago