[perl #31980] Factorial example gives incorrect result

2005-09-08 Thread Bernhard Schmalhofer via RT
> [EMAIL PROTECTED] - Di 19. Okt 2004, 19:49:44]: > Is it the intended operation of the 'factorial' program on the Parrot > examples page to > truncate the results? Looks like a bug to me... I have checked the factorial example on http://www.parrotcode.org/examples/pasm.html. Starting with 13!

Re: A PMC class for reference counting

2005-09-08 Thread Leopold Toetsch
On Sep 8, 2005, at 18:59, Nicholas Clark wrote: Would it make sense if it returned 0 rather than -1 on "not found"? The implementation can never return a reference count of 0, because keys are automatically deleted when they are decremented to 0. Yep. Just change it. Nicholas Clark leo

[perl #37068] [TODO] repair JAPHs in 'examples/japh'

2005-09-08 Thread Bernhard Schmalhofer via RT
> [jonathan - Mi 07. Sep 2005, 15:41:58]: > > > I see some updates to the examples, so guess somebody is having a hack > at this task. FYI, current test status on Win32:- Actually I haven't looked at the code at all. All I did was to add $Id$ tags for SVN. CU, Bernhard -- /* [EMAIL PROTECTED] *

[perl #37100] [PATCH] Pod tests + fixes

2005-09-08 Thread Bernhard Schmalhofer via RT
> [EMAIL PROTECTED] - Mi 07. Sep 2005, 14:29:39]: > > This patch adds a new test, t/docs/pod.t, that scans through the parrot > tree and checks the Pod syntax of all files identified by Pod::Find as > containing Pod markup. This is invoked by a new test target named > "doc_tests" which has been a

Re: [perl #37104] [PATCH] docs - spelling, markup and whitespace fixes

2005-09-08 Thread Bernhard Schmalhofer
Jonathan Worthington schrieb: "Joshua Hoblitt (via RT)" <[EMAIL PROTECTED]> wrote: HmmmI'm thinking these lines shouldn't be there:- +<<< .mine +>>> .r9142 Yes, sure. I must have missed an conflict when svn had to do some merging. The svn litter is removed in r9158. CU, Bernh

Re: A PMC class for reference counting

2005-09-08 Thread Nicholas Clark
On Tue, Aug 23, 2005 at 01:56:31PM +0200, Leopold Toetsch wrote: > Nicholas Clark wrote: > >Following on our discussion on IRC, what I think we agreed on was that > >Parrot should provide a new PMC class functionally similar to how the > >dod_register_pmc/dod_unregister_pmc works. Quite probably it

Re: [perl #37104] [PATCH] docs - spelling, markup and whitespace fixes

2005-09-08 Thread Jonathan Worthington
"Joshua Hoblitt (via RT)" <[EMAIL PROTECTED]> wrote: @@ -95,10 +97,17 @@ =head2 PMCs > +<<< .mine +PMC stands for Parrot Magic Cookie. PMCs represent any complex data structure +or type, including aggregate data types (arrays, hash tables, etc). A PMC can +implement its own behavior f

[perl #36639] [TODO] pbc_merge utility

2005-09-08 Thread Jonathan Worthington via RT
Hi, I'll be brave and have a crack at this one. :-) Leo and I have had some discussions about moving some packfile related code into PMCs, which sould neaten things up and, importantly, make packfile manipulation accessible to Parrot programs. While I know I'll need to re-work pbc_merge to use th

[perl #37068] [TODO] repair JAPHs in 'examples/japh'

2005-09-08 Thread Jonathan Worthington via RT
> > I have add t/examples/japh.t, which tests the JAPHs in 'examples/japh'. > Currently 10 out of 15 JAPHs are broken at least on my Linux machine. > > These broken JAPHs should be fixed. Furthermore some JAPHs in PIR, PIL, PAST > would be nice. > I see some updates to the examples, so guess som

[perl #37100] [PATCH] Pod tests + fixes

2005-09-08 Thread via RT
# New Ticket Created by Joshua Hoblitt # Please include the string: [perl #37100] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37100 > This patch adds a new test, t/docs/pod.t, that scans through the parrot tree and chec