IvanMathy / Boop

A scriptable scratchpad for developers. In slow yet steady progress.
https://boop.okat.best
MIT License
3.84k stars 356 forks source link

Feature Request: Support Custom Scripts Written in Python #263

Open simonrouse9461 opened 3 years ago

simonrouse9461 commented 3 years ago

As Python is getting more and more popular, supporting Python as a custom script language will be very convenient for the growing community of people who are more comfortable with Python.

Altair-Bueno commented 3 years ago

Also "eval python" could be interesting. There is a 2.x python interpreter preinstalled on every mac that could be used for this. Not the latest & greatest, but it's better than nothing

Not a Swift/JS developer, but i imagine there is access to the /usr/bin/python interpreter

Cobular commented 1 year ago

Beyond that, there's also the possibility to use a bundled https://github.com/pyodide/pyodide pyodide interpreter in a script somehow. The script itself would be massive once bundled to one file and the startup time of the wasm runtime might be nasty but tbh it might just work?