T
trashman.horlicks
Hi,
A few months ago, I saw an equation parser, written in c#, and using
regular expressions (I think!), but now I cannot recall where I saw
it- if anyone saw anything like this, could they please post the url?
of brackets, so that any complicated expession could be re-written as
an equation that could be read from left-to-right, as a simple
sequence of sub-equations using basic operators, +,-,/,*
The reason why I ask is that I am anticipating user input into a form
as a string, and I need to convert it into
an equation. The user inputted expression could be something like (a+
(b-d)*(e-c))/f so I need to find a way to parse it.
TIA
Paul
A few months ago, I saw an equation parser, written in c#, and using
regular expressions (I think!), but now I cannot recall where I saw
it- if anyone saw anything like this, could they please post the url?
the parser not only dealt with operator precedence, but also the useFrom memory,
of brackets, so that any complicated expession could be re-written as
an equation that could be read from left-to-right, as a simple
sequence of sub-equations using basic operators, +,-,/,*
The reason why I ask is that I am anticipating user input into a form
as a string, and I need to convert it into
an equation. The user inputted expression could be something like (a+
(b-d)*(e-c))/f so I need to find a way to parse it.
TIA
Paul