So I guess I will take a look at how gcalctool's parser works and
submit them a patch in a week or so, when I'm done with school.

I guess they have the grammar wrong somewhere, most likely the part
where they parse the expression.

For example, this one minor change will cause the parse tree to be
performed from Right to Left :-)

<Term>       --> <Factor> | <Term> */ <Factor>


-- 
I just want you to take it easy, man...
_______________________________________________
POST RULES : http://wiki.hanoilug.org/hanoilug:mailing_list_guidelines
_______________________________________________
HanoiLUG mailing lists: http://lists.hanoilug.org/
HanoiLUG wiki: http://wiki.hanoilug.org/
HanoiLUG blog: http://blog.hanoilug.org/

Trả lời cho