Re: build a syntax tree

2007-12-18 Thread Arnaud Delobelle
On Dec 18, 10:43 pm, Federico <[EMAIL PROTECTED]> wrote: > Hi I've some trivial question: > > for exercise I want to parse a string that like this: > > "x -34 + 65 * 96 = 102" > > now if I had this ("(25+24)/2") is extremely easy to have a result but > I want to resolve the above string (for the 'x

build a syntax tree

2007-12-18 Thread Federico
Hi I've some trivial question: for exercise I want to parse a string that like this: "x -34 + 65 * 96 = 102" now if I had this ("(25+24)/2") is extremely easy to have a result but I want to resolve the above string (for the 'x' variable) what can I do? Especially for symbolic function I think