Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

MOPT-02 - substitution and formal systems

by mstone (Deacon)
on Dec 16, 2002 at 21:16 UTC ( #220362=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        { 'c', 'i', 'o', 'p' }
    
  2. or download this
        S   ->  Sp
        op  ->  i
    ...
        oc  ->  io
        ic  ->  co
        cS  ->  ioS
    
  3. or download this
        $S = 'o';
        
    ...
            @out = map { sprintf ("%6s", $_) } @processing;
            printf ("%-44s == %6s\n", join (" ->", @out), $S);
        }
    
  4. or download this
            op ->     i                              ==      i
            ip ->     c ->    io                     ==     io
    ...
         iioip ->  iioc ->  iiio                     ==   iiio
         iiiop ->  iiii                              ==   iiii
         iiiip ->  iiic ->  iico ->  icoo -> ioooo   ==  ioooo
    
  5. or download this
        $S = 'opppppppp';               # (S  -> Sp) x 8
        
    ...
            @out = map { sprintf ("%9s", $_) } @processing;
            print join (" ->", @out), "\n";
        }
    
  6. or download this
        opppppppp -> ippppppp ->  cpppppp -> iopppppp
         iopppppp ->  iippppp ->   icpppp ->  ioopppp
          ioopppp ->   ioippp ->    iocpp ->    iiopp
            iiopp ->     iiip ->      iic ->      ico ->     iooo
    
  7. or download this
        8   ->  iooo
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://220362]
Approved by adrianh
Front-paged by Tanalis
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-10-02 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls