Help for this page

Select Code to Download


  1. or download this
    map{push@L,@C+0;push@C,lc=~/./g}<>;sub p{pop@n}sub w{push@n,@_}while($
    +n<@C){$_=
    $C[$n++];if(/n/){$0=0;/-/ or$0=$_+$0*7while($_=index"htaoinse",$C[$n++
    +])<7;w$0}
    if(/t/){$_=p;$_?$n=$L[$_-1]:last if p}/a/&&w 1+grep{$n>$_}@L;if(/h/){$
    +_=p;w$n[-
    abs$_];$_>0&&splice@n,-1-$_,1}/o/&&print chr p;/s/&&w-p()+p;/e/&&w int
    + p()/p,p%
    p;w($_=getc)?ord:-1if/i/}