in reply to Interpreted
I think its a little shorter ans a litle simpler!use strict; my ($p,@p)=(0); $_='>+++++++++[<++++++++>-]<++.>++++++[<++++++++>-]<-----.--.+.>++++++ +++[<---------->-]<----.>+++++++++[<+++++++>-]<++.>++++[<+++>-]<+.+.++ ++++.>++++[<--->-]<.---.>++++[<+++>-]<+.[-]>++++++++[<++++>-]<.>++++++ ++[<+++++++>-]<-.>+++++++[<+++>-]<.+++++++++++++.------.[-]>++++++[<++ +++++>-]<----.>++++++[<+++++++>-]<--.>++++++[<++++>-]<+.++.++++++++.>+ ++[<--->-]<.+++++++++++++.[-]++++++++++.'; s/./+{qw(> $p++ < $p-- + _++ - _-- . print+chr_ , _=ord+getc [ while(_ +){ ] })}->{$&}.";"/eg;s/_/\$p[\$p]/g;eval;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Interpreted
by iamcal (Friar) on Apr 24, 2001 at 12:14 UTC | |
by xtrem (Novice) on Apr 24, 2001 at 19:21 UTC | |
by iamcal (Friar) on Apr 24, 2001 at 20:01 UTC |