Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
adaptations to the new Rakudo master
- Named enums are not in place yet; swapped them out for simple subroutines. - As a consequence, needed to put parens in some places where subs would otherwise gobble up things as arguments. - The quote qq[<$prefix\[$list\]>] is now interpreted as an indexing into $prefix, what with the new correct-er interpolator and all. (jnthn++) But that wasn't at all what was intended -- the inner brackets are escaped in a misguided attempt to have them not be interpolated. Split the string up into smaller ones for clarity. - Changed one 'class ... is also' into a stub class and a real declaration, and another one into a class declaration and an 'augment class'. Had to add 'use MONKEY_TYPING;' for the latter. - Changed a large number of subs in a class (which were already a workaround for constants) into 'our sub' declarations. - Became a bit more honest with a hash parameter %opts, which was detected to be changing inside the method even though it was readonly. We got away with this earlier, because assignment to elements of a hash wasn't checked. - Removed an 'undef'. Since the method body is empty, it should now return Nil instead, which should work just as well. - Removed a no-longer-necessary workaround with '// undef' on hash lookups which might return a miss. Such return values used to be nuclear, but that problem has since been fixed. - Workedaround the lack of '<->' signatures. The code didn't become *that* much more repetitious. - Switched the engine over from 'alpha' to 'perl6'.
- Loading branch information
Carl Masak
committed
Apr 10, 2010
1 parent
c4fb5b3
commit 839bd22
Showing
5 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| #!/usr/bin/alpha | ||
| #!/usr/local/bin/perl6 | ||
| use v6; | ||
| use GGE; | ||
|
|
||
|
|
||