4 ms·
It's written in Typescript I would love to type check python in the browser without running pyodine, does anyone know how?
by tlarkworthy 4y ago
It's written in Typescript I would love to type check python in the browser without running pyodine, does anyone know how?
- tyingq 4y agoThis issue has some pointers: https://github.com/microsoft/pyright/discussions/3222 https://github.com/microsoft/pyright/discussions/3222
- tlarkworthy 4y agoWow that's pure gold
- jaustin 4y agoThe Micro:bit Educational Foundation do it for https://python.microbit.org/ https://python.microbit.org/ where the scope is conveniently limited (to MicroPython running on a device with finite flash/RAM) https://github.com/microbit-foundation/pyright https://github.com/microbit-foundation/pyright (and more specifically https://github.com/microbit-foundation/pyright/blob/microbit/THIS_FORK.md https://github.com/microbit-foundation/pyright/blob/microbit... )
- tlarkworthy 4y agoOh wow, their pyright-browswr package is very nice, the writeup works well!