Michael Chen wrote:
> Dear there,
> 
> The input I have is linear equation like:
> 
> 2 * x + ( x - y ) = x + 1
> 
> And I would like to get at end
> 
> 2 * x - y = 1
> 
> I studied the calculator example, and be able to build ast tree.
> however  I have no way to reduce it. Please give me an example or
> link. Thanks.

The parser is only there to extract information from a given input. What you 
do with the information extracted from that input is only up to you and 
doesn't involve the parser in any way.


Rui Maciel


_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to