Especially when writing code to make math easier, a necessary addition to this OS is the ability to run a function from calculate app
+1 This would be great to have.
That raises a lot of questions. Under what Python context do you run your calculations? What modules/scripts/functions do you import and how do you specify it? How do you handle data movement between MicroPython and poincare (loading/storing values, data conversions...)? Also, this creates additional dependencies with MicroPython and one may want to have the ability to remove it to make room for other things in a custom firmware (it takes about 1/4th of Flash).
Extending poincare with missing primitives/usecases and setting up a global shared context (where you can use variables/suites/functions/datasets across apps) is probably a better idea.
It probably makes more sense to allow Poincare calculations in Python. Python is more flexible so Poincare could make a great library for solving/simplifying equations, rendering them, or even accessing variables.
Except the Python shell is a terrible calculator environment. OTOH, I find the calculator as it is feels very disjointed, with programmability and calculating entirely separate. A more integrated approach to the environment would make a more extendable calculator.
Most helpful comment
That raises a lot of questions. Under what Python context do you run your calculations? What modules/scripts/functions do you import and how do you specify it? How do you handle data movement between MicroPython and poincare (loading/storing values, data conversions...)? Also, this creates additional dependencies with MicroPython and one may want to have the ability to remove it to make room for other things in a custom firmware (it takes about 1/4th of Flash).
Extending poincare with missing primitives/usecases and setting up a global shared context (where you can use variables/suites/functions/datasets across apps) is probably a better idea.