Hello
I have playing a bit (read a very little) with the TFPExpressionParser. I have a few open questions about it.
Where I could find a list of internal operators it do recognize (sin(), sqrt(),sum() etc..) since for my surprise I can not figure out how it handles the exponent (so far search is not my friend on this). I was in wrong impression that it do parse all the unit: math operators.
Or is there a bug that crashes it with the exponent. Which is so basic mathematical operation that I'm really surprised I need to ask.
I'm also in the impression that the TFPExpressionParser do have a build in support for user defined mathematical operations (sin(x), cot(x) etc.) is this a false assumption.
Is there a mature unit that does have a solver which can handle numerically equations in form of:
EQ: a/sqrt(b)=sqrt(c) where a=1, b=1 solve unknown c
Marcos symbolic unit do something, but I'm in impression that it is really in in definitive beta or POC phase, or is it just a wrong impression.
At the moment Michel Deslierres "Simple Parser" seems to be much more mature and better documented than TFPExpression parser (I just did find it late last night so I have only read the documentation PDF).
https://www.sigmdel.ca/michel/program/fpl/parser/parser_fpc_en.html My intentions is a build a small equation library and solver, maybe open source project if I get it rolling. Those familiar with the HPs RPL machines do know what I'm after. The basic concept I'm decided so far is that the equations are handled as a files, there will be two storage files per equation one ascii file containing the variables, units, equation, description and "copyright" information. The second file will be a description picture.
I'm not decided how the variables will be handled, do I use a separate file per directory or some other method. However the values need to be persistent (for chained solving). The database will be filesystem based because I do want a system that is fully transparent to end user and the application needs to be fully standalone.