This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Over the next couple of weeks I'm working on fleshing out | |
| "job openings" and descriptions for people who want to help | |
| advance Rakudo Perl 6. I'll write more about this in a later | |
| post. | |
| Following the Parrot model, one of the jobs we've already | |
| identified is "Release Managers". These are people who have | |
| responsibility for executing Rakudo releases according to the | |
| release schedule. And like Parrot, we want this responsibility | |
| to be widely spread among a team of managers, and not always fall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| my $*VAR ::= 'outer'; | |
| sub foo() { say $*VAR; } | |
| { | |
| my *$VAR ::= 'caller'; | |
| foo(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| my $*VAR ::= 'outer'; | |
| sub foo() { | |
| sub bar() { | |
| say $*VAR; | |
| } | |
| bar(); | |
| } | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub foo() { | |
| my $*VAR ::= 'foo'; | |
| -> { say $*VAR; } | |
| } | |
| my $a = foo(); | |
| { | |
| my $*VAR ::= 'outer'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub foo() { | |
| my $*VAR ::= 'foo'; | |
| -> { say $*VAR; } | |
| } | |
| my $a = foo(); | |
| { | |
| my $*VAR ::= 'caller'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub foo(@a, $b, $c) { | |
| say @a<xyz>; | |
| } | |
| foo( (1, :xyz<2>, 3), 4, 5); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub foo(@a, $b, $c) { | |
| say @a.kv.perl; | |
| } | |
| foo( «a :xyz<b> c», 4, 5); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > 3 | |
| "noun" => Hash { | |
| "" => PMC 'Sub' { ... }, | |
| """ => \noun[""], | |
| "$" => PMC 'Sub' { ... }, | |
| "%" => \noun["$"], | |
| "&" => \noun["$"], | |
| "'" => \noun[""], | |
| "(" => PMC 'Sub' { ... }, | |
| "0b" => \noun[""], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat x | |
| grammar ABC { | |
| regex TOP { | |
| abc | |
| :my $*XYZ := 4; | |
| <?ABCtest> | |
| } | |
| method ABCtest() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat x | |
| grammar ABC { | |
| regex TOP { | |
| abc | |
| :my $*XYZ := 4; | |
| { | |
| if $*XYZ { | |
| say("Darnit, it's about time that we"); |