Epsilon: Allow for python functions to be run from the calculate app

Created on 3 Sep 2018  路  4Comments  路  Source: numworks/epsilon

Especially when writing code to make math easier, a necessary addition to this OS is the ability to run a function from calculate app

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.

All 4 comments

+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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

boricj picture boricj  路  4Comments

homeostasie picture homeostasie  路  3Comments

adriweb picture adriweb  路  4Comments

XanderLeaDaren picture XanderLeaDaren  路  4Comments

titimoby picture titimoby  路  5Comments