Hi, I have a problem with the speed of parsed equations. I want the user to be able to define a equation X.
Lets say they define it as X=y+1
then I execute
Since it's user defined I call a parser to intepret the equation and return the value.
while (i < MAX)
Unfortunately since it's calculated a million times everything gets seriously bogged down reparsing it every cycle. Is there a way to get it up to at least close to the speeds it would be if X was hardcoded? I've gotten suggestions like gnu lightning and writing my own virtual machine but they all are extremely complex, using often underdeveloped resources and often require the use of assembly. And I'm pretty much still a novice.