Parrot Embed Grant - Report #1
Fri, 24-Dec-2010 by
Makoto Nozaki
edit post
_Jonathan Leto wrote:_
My work on a "TPF":http://perlfoundation.org/ grant to "improve documentation and test coverage of the Parrot Embedd API":http://news.perlfoundation.org/2010/11/2010q4-grant-proposal-improve.html is going well. I have added extensive examples of Parrot function and type signatures, as well beginning to increase test coverage of this subsystem.
I am working in the "leto/embed_grant":https://github.com/parrot/parrot/commits/leto%2Fembed_grant branch on "Github":http://github.com/, which has already been merged to master just before the release of Parrot 2.11.0.
My first merge of this topic branch included about 15 commits, which are about 2/3rds documentation and 1/3rd tests. I clarified some points about edge cases of Parrot function signatures, such as void input and void output, which is the emtpy string concatenated to both sides of an arrow ->, and gave an expanded description of what Pi means (PMC, invocant). Many examples of diverse kinds of function signatures were also added.
I gave the first user-visible documentation for many constants in the Embed subsystem, such as debug flags when creating interpreter objects and inline descriptions of different runcores that can be used with interpreter objects.
The tests that I added include the first coverage of returning Float PMCs and numeric constants from our embedding subsytem, as well as additional coverage for returning a ResizablePMCArray consisting of Numeric PMCs. I also added tests for creating multiple interpreter objects and added a TODO test for "Trac Ticket 1880":http://trac.parrot.org/parrot/ticket/1880.
I also fixed a bug in the Parrot test suite, where tests in t/src were not skipped properly if src/parrot_config.o did not exist.
Most of this work was done between Thanksgiving and holiday travel, so I expect that development pace will pick up in the next few days. Currently, one of four inchstones has been achieved, and I will concentrate on raising the code coverage of extend_vtable.c in the next two weeks.
I would like to thank The Perl Foundation, and Karen Pauley in particular, for funding this very important grant to the Parrot and Rakudo Perl 6 communities.
_Original article at "dukeleto.pl":http://leto.net/dukeleto.pl/2010/12/parrot-embed-grant-update-1.html ._
Comments (0)