|newbie question on Bison/Yacc firstname.lastname@example.org (2000-12-31)|
|Re: newbie question on Bison/Yacc email@example.com (Martin von Loewis) (2001-01-04)|
|Date:||31 Dec 2000 03:04:16 -0500|
|Keywords:||yacc, question, comment|
|Posted-Date:||31 Dec 2000 03:04:16 EST|
I am totally new to yacc/bison and wondering if you could help me with
the following question: I need to parse an algebraic expression and
calculate its value at a bunch of different points; what are the ways
(the fastest way?) to reset the "independent vars" and recalculate the
expression again? In other words, how to re-set variables from a
different function and get some answers back (without extra
Thank you so much for any insights!
[Translate it into in internal form such as a tree or RPN and reinterpret
Return to the
Search the comp.compilers archives again.