Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Using overload to parse arithmetic terms

by Tomte (Priest)
on Feb 07, 2006 at 12:57 UTC ( #528501=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Using overload to parse arithmetic terms
in thread Using overload to parse arithmetic terms

Hmm, how do you store the expressions? If you store them as a tree, you already have the information necessary, because you can always generate parenthesis for an <+|->-Node with to children on the fly - that's what I meant with showing relevant code - do you store the expression as a tree - otherwise this is a useless info on my part *g*?


regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus


Comment on Re^3: Using overload to parse arithmetic terms
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://528501]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (15)
As of 2015-07-31 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls