Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Operator Precedence Parser

by bart (Canon)
on Jun 13, 2006 at 11:17 UTC ( #555004=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    use strict;
    ...
    print "Numerified with a=$var{a}: " . (0+$result) . "\n";
    $var{a} = 25;
    print "Numerified with a=$var{a}: " . (0+$result) . "\n";
    
  2. or download this
    Line 86 "a+sumsq(3,2+2)*sqrt(36)/2"
    Line 88 "a+sumsq(3,2+2)*sqrt(36)/2" value=a
    ...
    Stringified: sum(a, div(mul(sumsq(3, sum(2, 2)), sqrt(36)), 2))
    Numerified with a=101: 176
    Numerified with a=25: 100
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (19)
As of 2015-07-01 20:16 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 (19 votes), past polls