stefnotch / quantum-sheet

QuantumSheet - A user friendly mathematics worksheet and solver
https://stefnotch.github.io/quantum-sheet/
GNU General Public License v3.0
55 stars 5 forks source link

Custom Functions backed by algorithms #51

Open stefnotch opened 2 years ago

stefnotch commented 2 years ago

Some functions are best implemented as actual, programmatic algorithms (warning: XSS and more applies here).

For example, a number parser function parse(0x34) would best be done with actual code. It'd be lovely if we eventually could support defining such functions.

Relevant sympy custom functions documentation: https://docs.sympy.org/latest/modules/functions/index.html

phcreery commented 2 years ago

I agree, I like the idea of providing some fundamental or sophisticated yet necessary internal functions.