Open simonrouse9461 opened 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
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?
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.