Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -2,7 +2,7 @@ my $proggie = '3 4 2 * 1 5 - 2 3 ^ ^ / +';
|
|||
|
||||
class RPN is Array {
|
||||
|
||||
method binop(&infix:<op>) { self.push: self.pop Rop self.pop }
|
||||
method binop(&op) { self.push: self.pop R[&op] self.pop }
|
||||
|
||||
method run($p) {
|
||||
for $p.words {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue