So, with Pugs 6.2.0 out, life has resumed at a much more relaxed pace. I worked for two days on getting a RT-CSS-Bamboo powered ACL application server out of door, and it was quite a success at today's demo. I'll probably clean up it on weekends and release it.
Tonight I also talked with Chip and Dan on #parrot, over the worrisome charset bias in Parrot; currently, every string is taken as iso-8859-1 by default, which is easy to cause ambiguities, since all valid UTF-8 encodings can also be interpreted as iso-8859-1. We tentatively agreed on my proposal of making 7-bit ascii the One True Default, and force explicit declaration of everything else. I then worked on a patch, which causes random segfaults, thus proving my C-fu is really really weak. Oh well -- at least I'm subscribed to perl6-internals now. :)
On p6c, andras asked whether he can use :i
on Perl 5 regular
expressions; I promptly implemented it, along with the handy feature of
turning //x
mode on by default for Perl 5 regexes. However,
Larry is inclined to preserve the original semantics, so I retracted that
change, only to come up with something more -- :s :i :m :x
are now all usable in rx:P5
mode. Larry then noted that it's better spelled as rx:P5<simx>
, which I happily implemented.
On #perl6, we had some discussions about the nature of lists, arrays and hashes, in light of the new ITypes system. My current understanding is that Array and Hash are both subclasses of List, and a List can be keyed with either a string or a integer:
<9 a 8 b>[1] # a <9 a 8 b>{8} # bThat also neatly explained why there is no
.kv
method for
List in Rod's S29.
Robrt noted that CIA reports that Pugs averages a commit every 30 minutes. So it should be of no surprise that there's 48 more commits for me to summarise today:
examples/tutorial_gen
-- the generator itself is written in Perl 6!
%h<x> < 3 > -1
to parsefail, by not globbing up the space between the brackets.
pugs -e ''
no longer eats the trailing arguments, and unTODOed the test.
@array[10000]
as rvalue incorrectly extends the array, and submitted a test; I fixed it right away.
;
separator, as well as deleting elements with negative indices.
fp.p6
example into several individual files under the new examples/fp/
directory.
That's it for today. See you tomorrow!