|
2 | 2 | WIP : A small but efficient, intuitive and responsive Python IDE right in your browser! Ships Micro Python, interpreter by your browser (so it works offline!), compiled with pyscript. |
3 | 3 |
|
4 | 4 | ## TODO |
5 | | -- Write a good README |
6 | | -- Test on real programm (=debug) |
7 | | -- Change icon and name from BetterOCaml |
8 | | -- Change XtermJS look to better match BetterEditor design |
9 | | -- Make script to build from the sources the libs in the repo |
10 | | -- Update PWA settings |
11 | | -- Clean up JS to remove every useless functions |
12 | | - |
13 | | -## Use of Web Worker / Python Interpreter |
14 | | -We now use Micro Python but we could use original python interpreter if the toplevel was in a web worker. |
15 | | -To accept the toplevel in web worker, we would need these headers : |
16 | | -``` |
17 | | -Cross-Origin-Opener-Policy: same-origin |
18 | | -Cross-Origin-Embedder-Policy: require-corp |
19 | | -``` |
20 | | -But this is not possible on github pages. |
| 5 | +### Write a good README |
| 6 | +Take exampel from BetterOCaml, with gifs, screenshot and usecases |
| 7 | + |
| 8 | +### Test on real programm (=debug) |
| 9 | +Make test on real world program = teaching material, see if the editor is capable |
| 10 | + |
| 11 | +### Change icon and name from BetterOCaml |
| 12 | + |
| 13 | +### Change XtermJS look to better match BetterEditor design |
| 14 | + |
| 15 | +Need to integrate termjs plugins (for autosizing) + see if we can integrate matplotlib inside |
| 16 | + |
| 17 | +### Make script to build from the sources the libs in the repo |
| 18 | + |
| 19 | +Track all libs used and write how to update each files |
| 20 | + |
| 21 | +### Update PWA + serviceWorker settings |
| 22 | + |
| 23 | +Need to make mini-coi work with existing service worker to cache all fiels needed to the editor |
| 24 | + |
| 25 | +### Clean up JS to remove every useless functions |
| 26 | + |
| 27 | +## BetterPython + BetterPythonLight ? |
| 28 | + |
| 29 | +The choice of interpreter is important. |
| 30 | + |
| 31 | +### MicroPython |
| 32 | +- lightweight |
| 33 | +- fast to load + to execute |
| 34 | +- no package = no matplotlib |
| 35 | +- work without worker if needed |
| 36 | + |
| 37 | +### Pyoide |
| 38 | +- real cpython implementation |
| 39 | +- can import package = can use matplotlib |
| 40 | +- heavy to load |
| 41 | +- package are heavy |
| 42 | +- need worker to work |
| 43 | +- import package is slow |
| 44 | + |
| 45 | +2 solutions : choose one of the interpreter or make 2 versions |
| 46 | + |
| 47 | +Need advice and feedbacks to decide |
0 commit comments