help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to parse linear equations


From: Michael Chen
Subject: how to parse linear equations
Date: Fri, 15 Jan 2010 18:40:56 -0600

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.
-- 
Best regards,
Michael Chen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]