Proektsoftbg / Calcpad

Free and open source software for mathematical and engineering calculations.
https://calcpad.eu
MIT License
349 stars 43 forks source link

Formula creator - natural format #200

Open FEA-eng opened 1 year ago

FEA-eng commented 1 year ago

Hi,

I have an idea that's probably more for the further future but would be great to have in Calcpad at some point. In short words, a formula creator/editor/wizard that would accept input in natural format and then convert it to a standard line in Calcpad language. I'm talking mainly about the input of fractions, roots, subscripts/superscripts and such. This tool could accept the formulas written using placeholders like in Word:

word

and then convert them to something like:

sqrt(.../...)

Of course, this would be particularly useful in the case of long, complex formulas with multiple levels of fractions etc. that make it necessary to use several brackets, often leading to mistakes.

Calcpad already uses this natural format to display the entered formulas in the output section but it would be also great to be able to input them this way. I know that Wolfram Mathematica offers something similar. I asked for this to be added to wxMaxima and they made a tool for fractions but it's far from what it should be to work as I mean and their wizards are not so good for this in general.

What do you think about this ? Does it make sense in the case of Calcpad ?

Proektsoftbg commented 1 year ago

Hi! That is a great idea, thank you!

It is possible to develop such wizards, but it will take some time. So it will be something for the near future as you said.