Write an interactive Deadfish interpreter
Perl 5, 90 bytes



do{print+(map{$?+=/i|x/-/d/;$?**=1+/s|k/;$?=~s/-1|^256$/0/;"$?
"x/o|c/}/./g),'&gt;&gt; '}while&lt;&gt;


Try it online!

Thanks to @xfix for his help on this previously! Saved 4 bytes thanks to @Xcali!