This week on the Perl 6 mailing lists
Due to a lack of free time, I will be unable to continue creating the Perl 6 summaries after April. We are looking for a volunteer or group of volunteers to take over the task.
Please contact me if you would like more information about what the job entails (contact information can be found at the end of this post).
Ryan Richter translated the Perl 5 Markov chain to Perl 6. He wondered if he has the correct syntax; he cannot test it because Pugs doesn't have full multislice support yet.
Larry Wall noted that
<== had become
<<== recently, and gave a
few other comments.
A commit by Larry Wall included a specification for the version sharing and emulation model for libraries. Zev Benjamin wondered if there could be an API version attribute. Larry thought that this was covered by 'emulation', but that maybe an API naming convention was needed. John Macdonald added his thoughts on the terminology employed.
A commit by Larry Wall clarified S02, S03, S04, and S06. The explicit
pipe target became
@@(*). Pushy pipes were modified.
$?BLOCK returns a list of labels.
Brad Bowman wanted to know if the form of per-filehandle input record separators had been added to the Synopses.
Larry Wall replied that it hasn't been, although it was discussed.
He added a remark to
.split on filehandles.
Earlier, in ticket [perl #41364], Patrick R. Michaud noted that the double-underscore method of overriding vtable methods cannot be deprecated until ticket [perl #40626] is resolved. Allison approved of the patch by Alek Storm and requested a regression test. She included a rough version.
Alek wondered if it could be committed now that 0.4.9 has been released. Jonathan Worthington noted some problems he had had with applying it. Alek discovered that this was due to a change in r41549, and updated the patch. Jonathan applied the patch manually in r17514 so that it could be included in the release.
Earlier, in ticket [perl #40544], Paul Cochrane submitted a test which checks for DOS line endings in the Parrot distribution.
Will Coleda recently noted that some of the problems are related to [perl #41485] and that when he sets the properties in his working copy, the tests succeed. Paul provided an update: he will be do a few commits which update the svn eol property. Because a large number of files will be affected, the update will done in a small time slot.
As of r17102, it was fixed.
However, on March 15th, Will Coleda asked Paul and Jerry Gay to insure that the test doesn't encourage people to update files which would break the Windows build, because the tests were failing again.
Previously, in ticket [perl #41579], Patrick R . Michaud reported two failing tests. chromatic confirmed that this was not restricted to x86_64.
This week chromatic supplied a patch but he wasn't sure that it was correct with regard to the Ref PMC.
In ticket [perl #41764], Julian Fondren submitted a patch because exception severity wasn't documented. It was applied in r17431.
chromatic supplied a patch which tells ExtUtils::MakeMaker how to build Parrot::Embed from a compiled but uninstalled Parrot. He requested tests from non-Linux platforms. Jonathan Worthington found some problems, but thought that they might be due to his installation, not chromatic's patch.
Jonathan Worthington outlined one of the things he'd like to see in PDD15: method resolution order. Larry Wall offered his thoughts on children and parents having different method resolution orders.
Nicholas Clark said that Brandon Black has been working on making pluggable method resolution order for Perl 5, and suggested that Jonathan talk to him about it.
In ticket [perl #41776], Will Coleda noted that it should be
possible to redirect input from and output to ParriotIO objects
which don't perform IO. This was documented in
Ticket [perl #417777] contains an entry from
which needs to be fixed.
Will Coleda copied this item from
docs/BROKEN.pod to the ticketing
system, creating ticket [perl #41779].
Ticket [perl #41778] documents another item from
Another ticket ([perl #41780]) was created for an item in
docs/BROKEN.pod. chromatic was working on a test case to demonstrate
Ticket [perl #41781] tracks an entry from
explains that invokable PMCs need a canonical way to store their associated
HLL source and argument information.
Will Coleda copied yet another item from
docs/BROKEN.pod to the
ticketing system: [perl #41782]. Leopold Toesch's proposed startup
sequence is described in the ticket.
In ticket [perl #41783], Will Coleda documented the
Bernhard Schmalhofer reported in ticket [perl #41784] that the
IMCC FAQ is broken in the main (parrotcode) FAQ.
Klaas-Jan Stol created ticket [perl #41788] to report that the several registers are limited to 2 digits. Because Parrot is no longer limited to 32 registers per type, this can be considered a bug.
Nuno Carvalho submitted a patch to change the lexer to accept additional digits. chromatic wondered what the effect would be on the register allocator and memory usage. Leopold Toetsch didn't see this as a problem. Jonathan Worthington also thought that it would be more usual for the programmer to ask Parrot to make the allocation. Nuno reminded the list that the field is a type of INTVAL, and therefore will already be limited. There was a bit of further discussion on this. Allison Randal saw no reason not to limit the lexer to a 32-bit integer.
Will Coleda created ticket [perl #41790]. He is working on Tcl and
needs to know the name of a
.Sub at runtime and included a patch which
he'd like to see in 0.4.10. The patch did make some tests fail.
Jonathan Worthington was mostly in favour of the plan, but wanted to know more about how the tests were failing. Matt Diephouse liked it too; he had nearly changed it himself the previous week. Allison Randal approved the change, and it was applied in r17484.
Klaas-Jan Stol expressed some difficulties he was having with tree transformation for Pynie, and asked for help from anyone with knowledge in this area.
Earlier, Jerry Gay created ticket [perl #41230]. Recently, Will Coleda reported that it had been updated to run all the policies at once, but to report by policy. This way, each file is only processed once.
In ticket [perl #41802], Jerry Gay noted that in r17470 he's
-G flag on three test files. The change addressed some
garbage collector bugs, and the ticket prevents the (known) issue from being
The patches do the following:
* factor out the comparison and test function
* clean up
* add the
is() for integers
is() to expect a different order of arguments
* modify symbol exports in the example
Allison Randal looked at two of the patches and requested some refactoring.
She explained in some detail what she is looking for. In addition, she
suggested removing the
.IMPORT macros which she had introduced.
Sam Vilain created ticket [perl #41818] to provide a patch.
Will Coleda announced a Bug Day for 0.4.10 on March 17th. Although this Bug Day has passed, there will be others...
Sam Vilain submitted a patch in ticket [perl #41819].
chromatic supplied a patch which fixed some unneeded output in a Valgrind report.
chromatic had another Valgrind report, and submitted a patch.
Richard used ticket [perl #41825] to report the problem described in the subject, and supplied a code example.
Richard included some example code in ticket [perl #41826] to demonstrate the problem described in the subject.
Nuno Carvalho replied to ticket [perl #39908]. In the ticket, Matt Diephouse had included an example of the error. Nuno noted that this was related to '[perl #41788] [BUG] Real registers are limited to 2 digits ' and attached a patch to correct the test. Jerry Gay wanted to see the examples in the ticket converted to tests.
In ticket [perl #41827], Joshua Isom reported a failure with
t/op/stringu.t, which was probably due to an assumption of
Bernhard Schmalhofer created ticket [perl #41829] to discuss some
In ticket [perl #37178], Will Coleda applied a patch which quieted some alignment warnings. Andy Dougherty had created it some time ago. He hoped someone else would take up the task of trying to document and check Parrot's alignment assumptions.
Later, the patch had to be removed because it had introduced some
problems. One problem was that it incorrectly assumed that all
compilers accept a
/? switch. He and chromatic
tried to find a solution but were not successful; chromatic promised
to work on a better patch.
Will Coleda created ticket [perl #41833]. In it, he said that
conv_i2 opcode had been resurrected, and that there may already
be some tests for it.
Ticket [perl #41837] demonstrates an integer overflow in
include/parrot/sub.h. chromatic applied the patch in r17853.
Pankaj kaushal, chromatic, and Paul Cochrane discussed ticket [perl #38764]. Will Coleda had asked for tests to run against parrot-0.4.9.
Will Coleda created ticket [perl #40087] several months ago. Jonathan Worthington tried to reproduce the error and requested updated instructions on how to produce the problem.
Paul Cochrane wanted a makefile target so that the valgrind tool suite could be used. He noted this in ticket [perl #41857].
In ticket [perl #41858], Paul Cochrane reported that
creates a number of errors by default, and suggested that a set of
rules be created for it.
Paul Cochrane created a ticket to make tickets of cage todo items, and then resolved his own ticket ([perl #41859]).
In ticket [perl #41860], Paul Cochrane noted that he wanted to see Parrot running under Coverity Prevent.
Paul Cochrane created ticket [perl #41861] to create the TODO item 'create a cage cleaner guide'. It was resolved in r17556.
In ticket [perl #41862], Paul Cochrane requested a reasonable
set of rules for
lint and provided a suggested starting point.
Ozgun wondered if compiling Perl 5 to Parrot byte code would provide any performance benefit, and how difficult it would be to do this.
chromatic explained that it would take quite a bit of effort to completely translate Perl 5 syntax. He did expect that it would improve performance, but pointed out that Parrot isn't as mature as Perl 5. Nicholas Clark said he didn't expect it would create an enormous increase in speed. He suggested profiling the Perl interpreter rather than profiling the code itself.
Isaac Gouy noted that PIR is included in the Debian performance comparison page which Ozgun had cited.
This summary was prepared using Mail::Summary::Tools, available on CPAN.
If you appreciate Perl, consider contributing to the Perl Foundation to help support the development of Perl.
Thank you to everyone who has pointed out mistakes and offered suggestions for improving this series. Comments on this summary can be sent to Ann Barcomb, firstname.lastname@example.org.
This summary can be found in the following places: