Re: [perl #57118] A dollar sign at the end of a string makes rakudo hang

2008-07-26 Thread Carl Mäsak
The infinite loop was caused in src/parser/quote_expression.pir as follows: the call to the rule on line 288 returns failure (since '$' is not a valid variable); quote_literal is called instead, but concludes on line 360 that it's reached an escape char ('$'), and exits immediately. The control is

Re: [perl #57078] return value from causes null PMC access

2008-07-26 Thread Carl Mäsak
Whereas this patch fixes the immediate problem, a better solution will be possible to create once time() is implemented. sleep_return.patch Description: Binary data

[perl #57296] [TODO] make install -C languages

2008-07-26 Thread via RT
# New Ticket Created by Reini Urban # Please include the string: [perl #57296] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=57296 > --- osname= cygwin osvers= 1.5.25(0.15642) arch= cygwin-thread-multi-64int cc= gcc

[perl #43302] [TODO] config/gen/makefiles.pm: Write unit tests

2008-07-26 Thread James Keenan via RT
In the course of working on unit tests in the 'parallel' branch, I came across this inline comment in config/gen/makefiles.pm: # Why is this here? I'd think this information belongs # in the CFLAGS.in file. -- A.D. March 12, 2004 if ( $conf->data->get('cpuarch') =~ /sun4|sparc64/ ) {

Re: [perl #57078] return value from causes null PMC access

2008-07-26 Thread Patrick R. Michaud
On Sat, Jul 26, 2008 at 12:25:17PM +0200, Carl Mäsak wrote: > Whereas this patch fixes the immediate problem, a better solution will > be possible to create once time() is implemented. Fixed in r29760, thanks! Pm

[perl #46805] [TODO] [Perl] Add more list_* tests

2008-07-26 Thread Christoph Otto via RT
On Fri Jul 25 11:06:01 2008, [EMAIL PROTECTED] wrote: > On Thu, Jul 24, 2008 at 11:05:28PM -0700, Christoph Otto via RT wrote: > > > From what I can tell, t/src/list.t was deleted or moved sometime > after > > r22464. Searching for some of the more unique-looking strings in > that > > revision of

[perl #56548] PATCH] for file "01-literals.t"

2008-07-26 Thread Christoph Otto via RT
On Thu Jul 03 14:15:22 2008, [EMAIL PROTECTED] wrote: > (sorry if this arrives multiple times, br0ken ISP and all..) > > Hi, > > Although there are some similar tests in t/00-parrot/ I wouldn't start > adding more in this file, because the official test suite lives in the > pugs repository under

[perl #57260] [BUG] Segfaults in sprintf opcode

2008-07-26 Thread Christoph Otto via RT
On Fri Jul 25 14:13:59 2008, japhb wrote: > On Fri, 2008-07-25 at 22:18 +0200, Peter Gibbs wrote: > > typedef HUGEINTVAL(*sprintf_getint_t) (PARROT_INTERP,INTVAL, > > SPRINTF_OBJ *); > > > > So, since obj->getint returns a HUGEINTVAL, I gave it one to store the > > result in. > > Fair enoug

[perl #57122] lone 'multi' is not understood correctly by rakudo

2008-07-26 Thread [EMAIL PROTECTED] via RT
On Sat Jul 19 07:21:52 2008, masak wrote: > While > > $ ./perl6 -e 'multi sub f() {}' > > works like it should, > > $ ./perl6 -e 'multi f() {}' > Statement not terminated properly at line 1, near "{}" Thanks for reporting, and fixed in r29752. (For anyone curious about the semantics, the approp

[perl #57270] close and then print causes assertion failure

2008-07-26 Thread [EMAIL PROTECTED] via RT
On Fri Jul 25 20:58:01 2008, pmichaud wrote: > Given that this is a failed assertion (as opposed to > a thrown exception), I'm not sure that we -can- catch > this at the Rakudo level. I think Parrot should be > throwing an exception here. Me to, so I've changed it so that this happens. So now I gu

[perl #57124] Multi sub declaration without parens parsefails

2008-07-26 Thread [EMAIL PROTECTED] via RT
On Sat Jul 19 07:23:10 2008, masak wrote: > While > > $ ./perl6 -e 'sub f {}' > > works, > > $ ./perl6 -e 'multi sub f {}' > > doesn't. Thanks for reporting, and fixed in r29756. Jonathan

[perl #57286] t/examples/library.t fails during make test on OS X 10.5.4

2008-07-26 Thread via RT
# New Ticket Created by Jeff Lavallee # Please include the string: [perl #57286] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=57286 > --- osname= darwin osvers= 9.0 arch= darwin-thread-multi-2level cc= cc --- Flags:

[perl #57294] Parameterless call to sleep doesn't work in rakudo

2008-07-26 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #57294] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=57294 > According to S29, the parameter in sleep is named and therefore optional: ] =item sleep

[perl #57078] return value from sleep causes null PMC access

2008-07-26 Thread [EMAIL PROTECTED] via RT
On Sat Jul 26 03:25:43 2008, masak wrote: > Whereas this patch fixes the immediate problem, a better solution will > be possible to create once time() is implemented. Applied in r29751; since this particular issue is fixed (the NULL PMC Access exception), will resolve this ticket. Others can be fi

[perl #57126] Rakudo should give a nice error about lexical subs not being implemented yet, but doesn't

2008-07-26 Thread [EMAIL PROTECTED] via RT
Hi, Thanks for reporting and helping track this one down - it was a fix in PCT in the end (in fact to the line immediately following the one you'd identified). So r29755 solves this, and probably will solve other similar issues too. Thanks! Jonathan

Re: [perl #56548] PATCH] for file "01-literals.t"

2008-07-26 Thread Will Coleda
Just move the ticket to the perl6 queue. On 7/25/08, Christoph Otto via RT <[EMAIL PROTECTED]> wrote: > On Thu Jul 03 14:15:22 2008, [EMAIL PROTECTED] wrote: >> (sorry if this arrives multiple times, br0ken ISP and all..) >> >> Hi, >> >> Although there are some similar tests in t/00-parrot/ I woul

Re: [perl #56810] [CAGE] pf_items assumes sizeof(INTVAL) == sizeof(opcode_t)

2008-07-26 Thread chromatic
On Thursday 10 July 2008 13:42:07 Andrew Whitworth wrote: > I found this while tracking a nasty GC-related bug. In > src/packfile/pf_items.c:PF_fetch_integer, we have the following two > notes: > > XXX assumes C INTVAL size in the PackFile header > > XXX assume sizeof (opcode_t) == sizeof (INTVAL)

[perl #57170] inheriting from a non-defined class should give a nice error message

2008-07-26 Thread [EMAIL PROTECTED] via RT
On Wed Jul 23 00:50:02 2008, masak wrote: > It turns out that 'class A is B {}; class B {}' is not a valid Perl 6 > program. > > @messages > masak asked 7h 17m 55s ago: is `class A is B {}; class B > {}` allowed in Perl 6? > @tell masak "is B" is not allowed unless B is already known > to be a

Re: [perl #57294] Parameterless call to sleep doesn't work in rakudo

2008-07-26 Thread Patrick R. Michaud
On Sat, Jul 26, 2008 at 03:33:16AM -0700, Carl Mäsak wrote: > According to S29, the parameter in sleep is named and therefore optional: > ... > ] our Num multi sleep ( Num $for = Inf ) > > But rakudo parsefails on encountering a 'sleep' without its parameter. Fixed in r29769, but doesn't yet pro

Re: [perl #48367] [BUG] intlist_get could be dereferencing NULL

2008-07-26 Thread chromatic
On Friday 25 July 2008 01:12:55 Christoph Otto via RT wrote: > According to make cover, the case where the return was -1 was never hit. >  A simple test case caused a segfault, which definitely isn't the right > thing.  The attached patch fixes and refactors intlist_get() to make the > coverage mo

[perl #57286] t/examples/library.t fails during make test on OS X 10.5.4

2008-07-26 Thread James Keenan via RT
I tried this test on an older Mac: OS X 10.4 on Darwin. I did not get any outright failures because one test is SKIPped and another is expected to fail and hence is TODOed out. $ prove -v t/examples/library.t t/examples/library 1..4 ok 1 - examples/library/getopt_demo.pir ok 2 - examples/li

Re: Inter-HLL Mapping Notes

2008-07-26 Thread Bob Rogers
From: Mark Glines <[EMAIL PROTECTED]> Date: Tue, 22 Jul 2008 21:58:10 -0700 . . . Integer is a good example of the problem, actually. The internal storage format doesn't change, but the methods you can call on it definitely will. HLLs wrap the Integer class with their own

Clue! (or, Attention Crazy People Looking for a Project)

2008-07-26 Thread chromatic
"Clue is an ANSI C compiler (C89, some C99) that targets high-level languages such as Lua, Javascript or Perl. It supports the entire C language, including pointer arithmetic, and can be used to run arbitrary pure-C programs." http://cluecc.sourceforge.net/

[svn:perl6-synopsis] r14570 - doc/trunk/design/syn

2008-07-26 Thread larry
Author: larry Date: Sat Jul 26 21:04:50 2008 New Revision: 14570 Modified: doc/trunk/design/syn/S09.pod Log: Allow stackable subscript declarations and (-->type) Modified: doc/trunk/design/syn/S09.pod == --- doc/trun