pct tutorial notes - variable scope

2008-03-29 Thread Patrick R. Michaud
First, kudos and compliments to Klaas-Jan Stol on the excellent PCT tutorial. I have some comments; the minor ones (typos, etc.) I'll send off-list, but others may merit some discussion and PCT implementation changes so I'll put them here. This message has to do with scope handling of variables

Re: pct tutorial notes - variable scope

2008-03-29 Thread Patrick R. Michaud
On Sat, Mar 29, 2008 at 01:04:22AM -0500, Patrick R. Michaud wrote: This message has to do with scope handling of variables in Episode 6 of the tutorial (the 'identifier' method for Squaak). The tutorial points out an area where PCT doesn't yet work the way I had envisioned and solicits

OpenGL for Parrot proof of concept

2008-03-29 Thread Geoffrey Broadwell
Imagine my delight upon reading this in the Perl 6 Design Team minutes: * also had a contact from someone who wants to port OpenGL to Parrot * not Geoff Broadwell * seems like a very serious approach Ouch! You wound me, sir! Just for the record, I've attached my OpenGL/GLUT proof of

[perl #52222] Test 3 of t/dynoplibs/myops.t crashes with a bus error

2008-03-29 Thread Seneca Cunningham
# New Ticket Created by Seneca Cunningham # Please include the string: [perl #5] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=5 This failure is not visible in prove -v output. herodotus:parrot seneca$

[perl #52224] Parrot::Test calls parrot with a bogus optimization values when run in /opt

2008-03-29 Thread Seneca Cunningham
# New Ticket Created by Seneca Cunningham # Please include the string: [perl #52224] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52224 Parrot::Test uses the full path of the test script to determine which

RE: [perl #51916] Error in tests after build

2008-03-29 Thread Ted Neward
I'm not sure I'm really qualified to answer this, since I'm not really a Perlistanian, but in general, if something shipping with Parrot depends on something else, it should be in the Parrot tree (in either source or binary form, whichever is more convenient and/or makes the most sense). If

[perl #52220] Test 335 of t/op/01-parse_ops.t segfaults

2008-03-29 Thread Seneca Cunningham
# New Ticket Created by Seneca Cunningham # Please include the string: [perl #52220] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52220 herodotus:parrot seneca$ ./parrot t/op/01-parse_ops_335.pasm Bus error Crash

Re: [perl #52220] Test 335 of t/op/01-parse_ops.t segfaults

2008-03-29 Thread jerry gay
On Fri, Mar 28, 2008 at 9:42 PM, via RT Seneca Cunningham [EMAIL PROTECTED] wrote: # New Ticket Created by Seneca Cunningham # Please include the string: [perl #52220] # in the subject line of all future correspondence about this issue. # URL:

[perl #52224] Parrot::Test calls parrot with a bogus optimization values when run in /opt

2008-03-29 Thread James Keenan via RT
On Fri Mar 28 21:03:12 2008, [EMAIL PROTECTED] wrote: Parrot::Test uses the full path of the test script to determine which optimization flags to pass parrot. The method used causes the bogus optimization value '/' to be extracted when running the tests in /opt/foo as the character

[perl #52154] [RFC] Remove check for repository revision number

2008-03-29 Thread James Keenan via RT
Coke et al.: Please evaluate the patch attached for commitment to trunk. As per my most recent post, it does not eliminate Parrot::Revision completely, but it does limit its scope to 'svn'. kid51 Index: tools/build/revision_c.pl

Re: [perl #52198] [BUG]: Test failures on Win32: t/op/arithmetics.t t/op/sprintf.t t/pmc/complex.t t/pmc/float.t

2008-03-29 Thread Ron Blaschke
chromatic wrote: On Friday 28 March 2008 11:55:30 James Keenan via RT wrote: Am confused. What diagnostic output beyond 'prove -v' are you referring to? For example... t/op/arithmetics1..26 ok 1 - take the negative of a native integer ok 2 - take the absolute of

[perl #52230] apparently redundant code in pmc creators

2008-03-29 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #52230] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52230 the code pmc.ops :96-97 seems redundant: pmc_type() is called twice with the

Re: [perl #48028] [DEPRECATED] PGE::P6Regex

2008-03-29 Thread Patrick R. Michaud
As of this morning only the following files still need conversion for P6Regex, P6Grammar, and/or pgc: examples/pge/all.pir languages/tap/Makefile The examples/pge/all.pir file is a very outdated example of writing parsers using PGE -- the new way of doing it is to use Perl6Grammar or

Re: [perl #52220] Test 335 of t/op/01-parse_ops.t segfaults

2008-03-29 Thread chromatic
On Saturday 29 March 2008 06:50:51 jerry gay wrote: the contents of t/op/01-parse_ops_335.pasm should be somewhere between 2 and 12 lines. could you paste it inline? it would help us find the op(s) causing the segfault. The code is: end yield ... and it crashes because

Re: [perl #52224] Parrot::Test calls parrot with a bogus optimization values when run in /opt

2008-03-29 Thread Mark Glines
On Sat, 29 Mar 2008 07:03:17 -0700 James Keenan via RT [EMAIL PROTECTED] wrote: If we simply add a forward slash after 'opt', does that solve the problem? (see attached) Should this code really be checking the absolute pathname? We don't have any control over where a user places a parrot

Re: [perl #52224] Parrot::Test calls parrot with a bogus optimization values when run in /opt

2008-03-29 Thread Mark Glines
On Sat, 29 Mar 2008 11:59:25 -0700 Mark Glines [EMAIL PROTECTED] wrote: This changes Parrot::Test's behavior: an alternate -O option will only be used if the *filename* contains optN, not if a leading directory name contains it. I don't see any uses of optN in directory names in the parrot

Re: [perl #52224] Parrot::Test calls parrot with a bogus optimization values when run in /opt

2008-03-29 Thread Seneca Cunningham
On 29/03/2008, James Keenan via RT [EMAIL PROTECTED] wrote: On Fri Mar 28 21:03:12 2008, [EMAIL PROTECTED] wrote: Parrot::Test uses the full path of the test script to determine which optimization flags to pass parrot. The method used causes the bogus optimization value '/' to be

Re: [perl #52150] Parrot fails to build on Cygwin (r26569) due to linking missing -lcrypto

2008-03-29 Thread chromatic
On Saturday 29 March 2008 11:58:53 Reini Urban via RT wrote: Oops. I only reported the $extraLibs patch to the mailinglist. Thanks, applied in full as r26632. -- c

Re: [perl #48028] [DEPRECATED] PGE::P6Regex

2008-03-29 Thread chromatic
On Saturday 29 March 2008 09:42:55 Patrick R. Michaud wrote: As of this morning only the following files still need conversion for P6Regex, P6Grammar, and/or pgc: examples/pge/all.pir languages/tap/Makefile The examples/pge/all.pir file is a very outdated example of writing

Re: [perl #52154] [RFC] Remove check for repository revision number

2008-03-29 Thread chromatic
On Saturday 29 March 2008 07:22:35 James Keenan via RT wrote: Please evaluate the patch attached for commitment to trunk. As per my most recent post, it does not eliminate Parrot::Revision completely, but it does limit its scope to 'svn'. Remove the commented-out code and +1 from me. -- c

Re: [perl #51898] nmake on cygwin

2008-03-29 Thread chromatic
On Wednesday 19 March 2008 07:15:17 [EMAIL PROTECTED] wrote: Attached patch favors make over nmake on cygwin only, because there's normally no gmake, but sometimes a nmake in the PATH. Thanks, applied as r26633. -- c

Re: [perl #52202] [BUG]: Rakudo build attempted on Win32 but couldn't get to Hello World

2008-03-29 Thread chromatic
On Friday 28 March 2008 11:14:03 James Keenan wrote: This is one of a series of tickets reporting issues encountered at a   Parrot/Rakudo buildfest held at Toronto Perlmongers on March 27, 2008. On the same Win32 box mentioned in RT 52198, the developer attempted   to build Rakudo, but 'say

Re: wishlist for NQP

2008-03-29 Thread chromatic
On Thursday 27 March 2008 18:20:21 Patrick R. Michaud wrote: Actually, it can be done without subclassing via the following .namespace [ 'ResizablePMCArray' ] .sub 'unshift' :method .param pmc list .param pmc value unshift list, value .end .sub 'shift' :method .param