09-05-2023, 09:39 PM
(06-10-2022, 04:03 AM)Jack Wrote: here's small demo on how you can use libpariĀ http://pari.math.u-bordeaux.fr/So, if it was me, I would change the expression parser to not solve the equation, but just do a syntax check.
this demo show but a tiny bit of what you can do with the lib
note, some functions will only work on a real console window hence my use of $Console:Only and _Dest _Console
attached below is the libpari dll if you don't want to install Pari/gp
If the syntax is ok, then pass the string to the library routine.
Does that make sense?