With rg0now, Juerd and nothingmuch's help, we have implemented the following features for this golf course:
reverse for both strings and lists..= operator, so @list.=reverse works.?? :: now parses correctly, even inside brackets.... now works again.my $a == $b no longer parses are my $a = =$b.my ($a, $b, $c) = (1..10) now works the same as Perl5.I am absolutely delighted about this golf-driven development. After all, Pugs stands for Perl6 User's Golfing system, and it is my sincere wish that golfers can help pushing Pugs forward.
Actually, I think golfing in Perl 6 will be much more fun than Perl 5 (where it is already very much fun). Instead of being constrained to regex and $_-defaulting primitives, the other schools will now be much more competitive, with concise syntax for objects, closures, and nondeterminisms with junctions.
In other news, theorbtwo implemented pugs --help and added me to the AUTHORS file. Also before this golfing frenzy, I made all unit tests pass, by implementing ||=,//= etc, and fixed [...] so it is again evaluated in list context.
That is it for today. Tomorrow should see the release of 6.0.11. Happy golfing!
Day 40: Golf-driven development! 0 Comments More | Login | Reply /