Re: [perl #56996] [TODO] remove non FHS-compliant searchpaths

2008-07-27 Thread Reini Urban
Reini Urban (via RT) schrieb: Remove /usr/runtime/parrot/include /usr/runtime/parrot /usr paths from the .include searchpath. I found this out via strace on cygwin. Attached patch tries at least /usr/lib/parrot when /usr/runtime/parrot fails. As soon as installed versions should run

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

2008-07-27 Thread Reini Urban
chromatic schrieb: 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/ It compiles C

[perl #56554] [TODO] add languages/*/Makefile install targets

2008-07-27 Thread James Keenan via RT
Per request from Reini Urban, I have merged RT 57296 into this ticket. The version of the patch which should be evaluated is that submitted by Reini on 26 July: make-install-lang.patch. kid51

Re: [perl #56996] [TODO] remove non FHS-compliant searchpaths

2008-07-27 Thread Geoffrey Broadwell
On Sun, 2008-07-27 at 13:13 +0200, Reini Urban wrote: +stat $I0, conf_file, 0 +if $I0 goto conf + +# If installed into /usr/lib/parrot, not /usr/runtime/parrot +# This logic has to be reversed when installed versions should run faster +# than source builds. Reverse

[perl #57230] Class variables with 'my' don't work in rakudo

2008-07-27 Thread [EMAIL PROTECTED] via RT
On Wed Jul 23 14:56:05 2008, masak wrote: Using 'has' works in rakudo: $ perl6 -e 'class A { has $.x; method foo { say $.x } }; my A $a .= new; $a.foo' Object But using 'my' (to create a class attribute as per S12:616) doesn't work: $ perl6 -e 'class A { my $.x; method foo { say $.x }

[perl #57312] [TODO] delete languages/pugs/

2008-07-27 Thread via RT
# New Ticket Created by Jerry Gay # Please include the string: [perl #57312] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57312 languages/pugs/ was for a pugs interface to parrot. the code was already bitrotten

[perl #57316] multisub in Test.pm causes complex subtraction to fail

2008-07-27 Thread Jonathan Leto
# New Ticket Created by Jonathan Leto # Please include the string: [perl #57316] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57316 Howdy folks, I have attached a diff which includes a patch to is_approx() in

[perl #46895] [TODO] [Pir] [C] Investigate and correct incorrect recursion depth counting in debug backtrace

2008-07-27 Thread Christoph Otto via RT
On Thu Jul 24 23:21:19 2008, cotto wrote: I agreee. I ran with a few different runcores and always got 1000 as the number (when Parrot ran and I was patient enough to wait for the output). It was the same for cgoto, cgp, fast, slow and switch. I ran the following with a normal build of

[perl #48264] [TODO] [C] Write file-level documentation

2008-07-27 Thread Christoph Otto via RT
On Thu Dec 06 08:54:35 2007, pcoch wrote: Many files in the Parrot repository are lacking descriptions within the pod DESCRIPTION section. This needs to be done. An appropriate description of what the given file does is all that is necessary. r29788 adds a test for this. Unless the test is

[perl #57334] Zero-arg 'return' does not work with statement-modifier 'if' in rakudo

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57334] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57334 $ svn info | grep Revi Revision: 29791 This works. $ ./perl6 -e 'sub a { return };

[perl #57338] parrot segfaults after nonexistent method is called from within sub invoked without parens in rakudo

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57338] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57338 $ svn info | grep Revi Revision: 29791 This works: $ ./perl6 -e 'class A {}; say

cygwin-update: parrot-0.6.4-2 with parrot-perl6 and parrot-languages

2008-07-27 Thread Reini Urban
The parrot packages with libparrot0 and libparrot-devel, plus parrot-perl6 and parrot-languages are updated to 0.6.4-2 for the Cygwin distribution. This release fixes the serious issue with running /usr/bin/perl6 and the other languages /usr/bin/parrot-* without building from source. See

[perl #57330] 'exit' from deep within rakudo call stack causes segmentation fault

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57330] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57330 $ svn info | grep Revi Revision: 29791 The following works: $ ./perl6 -e 'exit' $

[Parrot] New comment on Episode 1: Introduction.

2008-07-27 Thread Taweth
Taweth has left a new comment on your post Episode 1: Introduction: It seems that recent changes have altered the behaviour of the mk_language_shell script. If anyone else finds themselves without a Makefile once they run this, the fix is to run the command without the path on the end (eg: perl

[perl #57340] Empty {} or pair {1=2} does not create anonymous hash in rakudo

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57340] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57340 From S06 http://dev.perl.org/perl6/doc/design/syn/S06.html: ] {...} is always a

[perl #57336] Using attribute variables outside of methods causes strange errors in rakudo

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57336] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57336 This works... $ ./perl6 -e 'class A { my $.a; method m { say $.a } }' ...and

[perl #56562] [PATCH] root.in: add cygwin importlib

2008-07-27 Thread chromatic via RT
Thanks, applied in r29767.

[perl #57318] Untodo a test

2008-07-27 Thread via RT
# New Ticket Created by Michael G Schwern # Please include the string: [perl #57318] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57318 The value can be used for attribute name in derived classes is passing on my

Re: [perl #57318] Untodo a test

2008-07-27 Thread Moritz Lenz
Thank you, applied as r21575 in the pugs repository, where the tests are hosted. I see that you have a commit bit for the pugs repository already, so if you feel confident, go ahead and check in changes by yourself. Cheers, Moritz Michael G Schwern (via RT) wrote: # New Ticket Created by

[perl #57320] touch /tmp/t make test = fails t/perl/Parrot_IO.t ?

2008-07-27 Thread via RT
# New Ticket Created by Eric Wilhelm # Please include the string: [perl #57320] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57320 It appears that this test assumes (multiple times perhaps?) that it may make named

[perl #57310] [PATCH] Add Default Stringification of Objects

2008-07-27 Thread via RT
# New Ticket Created by chromatic # Please include the string: [perl #57310] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57310 From masak in IRC today: class A {}; say A.new polyglotbot

[perl #57332] Matching against nonexistent class throws wrong kind of error

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57332] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57332 $ svn info | grep Revi Revision: 29791 There's no problem matching against an extant

[perl #57344] [TODO] Change runtime/parrot/* to runtime/*

2008-07-27 Thread via RT
# New Ticket Created by Geoffrey Broadwell # Please include the string: [perl #57344] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57344 In the source repository, the 'parrot' in runtime/parrot/foo is pointless.

Re: [perl #57344] [TODO] Change runtime/parrot/* to runtime/*

2008-07-27 Thread Will Coleda
On Sun, Jul 27, 2008 at 1:08 PM, via RT Geoffrey Broadwell [EMAIL PROTECTED] wrote: # New Ticket Created by Geoffrey Broadwell # Please include the string: [perl #57344] # in the subject line of all future correspondence about this issue. # URL:

[perl #57324] t/fetchspec is obsolete?

2008-07-27 Thread via RT
# New Ticket Created by Eric Wilhelm # Please include the string: [perl #57324] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57324 Hi, It seems that this file may be no longer used (no change since r25301 -

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

2008-07-27 Thread Christoph Otto via RT
On Sat Jul 26 14:34:26 2008, [EMAIL PROTECTED] wrote: I'd write that as: if (ret) return *(INTVAL *)ret; return (INTVAL)0; The pointer casting dereferencing bothers me a little, but if compilers don't warn about it -- c That looks cleaner. I made

Parrot_sprintf_c question.

2008-07-27 Thread Will Coleda
To properly support $tcl_precision in tcl, I need to change how I'm currently implementing {$tcl_precision == 0}. Right now, I just fake it by setting the precision to 16, but that isn't right. What I really want is something like this in src/pmc/tclfloat.pmc: if (precision)

Re: [perl #57344] [TODO] Change runtime/parrot/* to runtime/*

2008-07-27 Thread Geoffrey Broadwell
On Sun, 2008-07-27 at 12:10 -0700, Will Coleda via RT wrote: On Sun, Jul 27, 2008 at 1:08 PM, via RT Geoffrey Broadwell [EMAIL PROTECTED] wrote: # New Ticket Created by Geoffrey Broadwell # Please include the string: [perl #57344] # in the subject line of all future correspondence about

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

2008-07-27 Thread chromatic
On Friday 25 July 2008 15:46:25 Jeff Lavallee wrote: Latest parrot code from svn. During make test, t/example/library.t fails: t/examples/library...ok 1/4Failed to load libpcre current instr.: 'parrot;PCRE;init' pc 110 (library/pcre.pir:111) called from Sub

Re: [perl #57324] t/fetchspec is obsolete?

2008-07-27 Thread Patrick R. Michaud
On Sat, Jul 26, 2008 at 10:44:23PM -0700, Eric Wilhelm wrote: Hi, It seems that this file may be no longer used (no change since r25301 - 2008-01-27), or possibly just needs a comment to explain why it is different than the 'svn co' or 'svn up' which the Makefile does. I suspect it's

[perl #57346] parsefail on m/foo/ (/foo/ works)

2008-07-27 Thread via RT
# New Ticket Created by Adrian Kreher # Please include the string: [perl #57346] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57346 I've been adding tests to S05 for a few days, and I've noticed that the m/foo/

Re: [perl #57344] [TODO] Change runtime/parrot/* to runtime/*

2008-07-27 Thread Patrick R. Michaud
On Sun, Jul 27, 2008 at 10:08:06AM -0700, Geoffrey Broadwell wrote: In the source repository, the 'parrot' in runtime/parrot/foo is pointless. It's a singleton directory, and it's redundant. I think that the point of runtime/parrot/ is that we may also someday have runtime/perl6/,

[perl #57226] The statement '.say while =$*IN' makes parrot segfault

2008-07-27 Thread Patrick R. Michaud via RT
This has to do with 'while' not being recognized as a stdstopper in Rakudo yet. See #57352. Pm

[perl #57352] Implement stdstopper in grammar

2008-07-27 Thread Patrick R. Michaud (via RT)
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #57352] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57352 Currently Rakudo doesn't recognize certain keywords as being expression

[perl #57334] Zero-arg 'return' does not work with statement-modifier 'if' in rakudo

2008-07-27 Thread Patrick R. Michaud via RT
This is because statement modifiers aren't yet recognized as stdstopper in Rakudo's grammar yet. See #57352.

Re: [perl #57332] Matching against nonexistent class throws wrong kind of error

2008-07-27 Thread Patrick R. Michaud
On Sun, Jul 27, 2008 at 07:27:50AM -0700, Carl Mäsak wrote: * The error is all wrong. The class 'Failure' has got nothing to do with it. * It feels like this could/should be intercepted at BEGIN time, just like the `class DerivingClass is NotYetDefinedClass {}` error. In both cases, it's a

[perl #57320] touch /tmp/t make test = fails t/perl/Parrot_IO.t ?

2008-07-27 Thread James Keenan via RT
On Sat Jul 26 22:27:39 2008, [EMAIL PROTECTED] wrote: It appears that this test assumes (multiple times perhaps?) that it may make named files in /tmp/. Are you saying that making named files in /tmp (or any other temporary directory) is bad or something to be avoided? If so, what

Re: [perl #57320] touch /tmp/t make test = fails t/perl/Parrot_IO.t ?

2008-07-27 Thread Will Coleda
On Sun, Jul 27, 2008 at 10:40 PM, Eric Wilhelm [EMAIL PROTECTED] wrote: # from James Keenan via RT # on Sunday 27 July 2008 18:45: It appears that this test assumes (multiple times perhaps?) that it may make named files in /tmp/. Are you saying that making named files in /tmp (or any other

Re: [perl #48264] [TODO] [C] Write file-level documentation

2008-07-27 Thread Will Coleda
On Sun, Jul 27, 2008 at 1:49 AM, Christoph Otto via RT [EMAIL PROTECTED] wrote: On Thu Dec 06 08:54:35 2007, pcoch wrote: Many files in the Parrot repository are lacking descriptions within the pod DESCRIPTION section. This needs to be done. An appropriate description of what the given file

Re: [perl #48264] [TODO] [C] Write file-level documentation

2008-07-27 Thread Christoph Otto
Will Coleda via RT wrote: On Sun, Jul 27, 2008 at 1:49 AM, Christoph Otto via RT [EMAIL PROTECTED] wrote: On Thu Dec 06 08:54:35 2007, pcoch wrote: Many files in the Parrot repository are lacking descriptions within the pod DESCRIPTION section. This needs to be done. An appropriate

Re: [perl #57344] [TODO] Change runtime/parrot/* to runtime/*

2008-07-27 Thread jerry gay
On Sun, Jul 27, 2008 at 1:56 PM, Patrick R. Michaud [EMAIL PROTECTED] wrote: On Sun, Jul 27, 2008 at 10:08:06AM -0700, Geoffrey Broadwell wrote: In the source repository, the 'parrot' in runtime/parrot/foo is pointless. It's a singleton directory, and it's redundant. I think that the point