Skip to content

Commit

Permalink
parse feed operators, and die with a NYI message
Browse files Browse the repository at this point in the history
Note that after this commit you need to clean; a simple 'make' doesn't rebuild
enough of the parser, it seems.
  • Loading branch information
moritz committed Aug 10, 2009
1 parent 9c291ca commit af3efaf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/parser/grammar-oper.pg
Expand Up @@ -197,3 +197,8 @@ proto infix:<xor> is equiv(infix:<or>)
is pasttype('xor')
{ ... }
proto infix:<orelse> is equiv(infix:<or>) { ... }

proto infix:«<==» is precedence('b=') { ... }
proto ifnix:«==>» is equiv(infix:«<==») { ... }
proto ifnix:«<<==» is equiv(infix:«<==») { ... }
proto ifnix:«==>>» is equiv(infix:«<==») { ... }
13 changes: 13 additions & 0 deletions src/setting/NYI.pm
Expand Up @@ -8,4 +8,17 @@ multi runinstead(){
die 'runinstead() is not yet implemented in Rakudo, sorry';
}

multi infix==>» (*@a) {
die 'Feed operators are not yet implemented in Rakudo, sorry';
}
multi infix<==» (*@a) {
die 'Feed operators are not yet implemented in Rakudo, sorry';
}
multi infix==>>» (*@a) {
die 'Feed operators are not yet implemented in Rakudo, sorry';
}
multi infix<<==» (*@a) {
die 'Feed operators are not yet implemented in Rakudo, sorry';
}

# vim: ft=perl6

0 comments on commit af3efaf

Please sign in to comment.