Re: website

2005-11-08 Thread Allison Randal
On Nov 8, 2005, at 12:12, Joshua Hoblitt wrote: Allison has an excellent document on the state of tool development in her SVN tree. It would be nice to see it included with Parrot's documentation. It's still very rough, but will go into the Parrot repository after I give it another pass o

Re: website

2005-11-08 Thread Will Coleda
Some cleanup in the examples section to avoid some deprecations, removed all the big PASM examples, pointed at the examples in the repo. Removed all the PASM calling conventions examples and pointed people at PIR. Redid the main example page a bit. Cleaned up the talks page, adding some new

Re: Default values for instance variables

2005-11-08 Thread Luke Palmer
On 11/8/05, Gaal Yahas <[EMAIL PROTECTED]> wrote: > On Tue, Nov 08, 2005 at 07:07:42PM +, Luke Palmer wrote: > > > class Jabberwock { > > > has $.jaws = "bite"; > > > has $.claws = "catch"; > > > } > > > > That is legal Perl 6. The fact that it is not legal pugs is

Re: [perl #31146] [TODO] Stability - purify, valgrind, etc.

2005-11-08 Thread Leopold Toetsch
- skip non-fatals like unit stack memory spotted by valgrind inside GC uninitialised leo

Re: website

2005-11-08 Thread Leopold Toetsch
On Nov 8, 2005, at 19:56, Will Coleda wrote: Anyone care to suggest some updated text for "Where we are?". I'm currently in Herrnbaumgarten/Austria ;-) But anyway, the two references to the outdated and presumabely non-functional P6C should be replaced with more recent info towards PGE or

Re: Implicit Role Declarations (was Re: implicitly doing a role)

2005-11-08 Thread Rob Kinyon
On 11/8/05, chromatic <[EMAIL PROTECTED]> wrote: > On Fri, 2005-11-04 at 13:15 -0500, Austin Frank wrote: > > > If roles are interfaces, do we want any class that provides an interface > > consistent with a role to implicitly do the role? That is, if a class > > fulfills all of the interface requi

Implicit Role Declarations (was Re: implicitly doing a role)

2005-11-08 Thread chromatic
On Fri, 2005-11-04 at 13:15 -0500, Austin Frank wrote: > If roles are interfaces, do we want any class that provides an interface > consistent with a role to implicitly do the role? That is, if a class > fulfills all of the interface requirements of a role without actually > saying it does the

[perl #31146] [TODO] Stability - purify, valgrind, etc.

2005-11-08 Thread Leopold Toetsch via RT
> [coke - Sun Aug 15 13:26:21 2004]: > > Purify, Valgrind, and other memory badness detectors It's still very much welcome to run the whole test suite through valgrind (or similar tools). Steps towards this are (afaik): - %ENV{TEST_PROG} = 'perl vg_tester.pl' - err recreate this env var - s

Re: website

2005-11-08 Thread jerry gay
On 11/8/05, Will Coleda <[EMAIL PROTECTED]> wrote: > Minor updates to the website. > here's some content for the 'Talks' section, slides from chip's austrian perl workshop talk: http://groups.google.com/group/perl.perl6.internals/browse_frm/thread/f1688a43617f47b7/488f23195bb0f206#488f23195bb0f206

Re: website

2005-11-08 Thread Joshua Hoblitt
It probably would have been helpful to have included the URL: http://svn.lohutok.net/nam/trunk/parrot/docs/compiler_tools.pod -J -- On Tue, Nov 08, 2005 at 10:12:35AM -1000, Joshua Hoblitt wrote: > On Tue, Nov 08, 2005 at 01:56:09PM -0500, Will Coleda wrote: > > Anyone care to suggest some u

Re: private methods and role composition

2005-11-08 Thread Larry Wall
On Sat, Nov 05, 2005 at 11:35:38AM -0800, Jonathan Lang wrote: : First off: is there a way to declare a method as being private to a role? We're still batting around the notion of private methods. Certainly with a lexically scoped sub you can get most of the same benefit. Trust could then perhaps

Re: website

2005-11-08 Thread Joshua Hoblitt
On Tue, Nov 08, 2005 at 01:56:09PM -0500, Will Coleda wrote: > Anyone care to suggest some updated text for "Where we are?". Allison has an excellent document on the state of tool development in her SVN tree. It would be nice to see it included with Parrot's documentation. -J -- pgphWcJXi4PCB

Re: Ways to add behavior

2005-11-08 Thread Larry Wall
On Mon, Nov 07, 2005 at 08:44:28PM +0100, TSa wrote: : HaloO, : : Larry Wall wrote: : > : ::Takes3Ints ::= :(Int,Int,Int --> Any); : > : : > : my &foo:(Takes3Ints); : > : > I'd say that has to be something like: : > : > my &foo:(Takes3Ints:); : > : > or maybe one of : > : > my

Re: Default values for instance variables

2005-11-08 Thread Gaal Yahas
On Tue, Nov 08, 2005 at 07:07:42PM +, Luke Palmer wrote: > > class Jabberwock { > > has $.jaws = "bite"; > > has $.claws = "catch"; > > } > > That is legal Perl 6. The fact that it is not legal pugs is pugs's problem. > :-) Noted. Perhaps it'd be worth foregroun

Re: Default values for instance variables

2005-11-08 Thread Luke Palmer
On 11/8/05, Gaal Yahas <[EMAIL PROTECTED]> wrote: > Wouldn't it be nice to be able to supply default values for instance > variables right in the attribute declaration? > > class Jabberwock { > has $.jaws = "bite"; > has $.claws = "catch"; > } > > my $scary = Jabbe

website

2005-11-08 Thread Will Coleda
Minor updates to the website. Added a downloads sidenav, moved all the "how to get the source" information to a single page, added pointers to the two binary versions I know about. Anyone care to suggest some updated text for "Where we are?".

Re: Octal in p6rules (and strings)

2005-11-08 Thread Patrick R. Michaud
On Tue, Nov 08, 2005 at 10:55:05AM -0500, Matt Fowles wrote: > Patrick~ > > On 11/8/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 08, 2005 at 12:57:18PM +, [EMAIL PROTECTED] wrote: > > > "Patrick R. Michaud" <[EMAIL PROTECTED]> wrote: > > > :And we also get \d:0123 as a che

Re: Octal in p6rules (and strings)

2005-11-08 Thread Matt Fowles
Larry~ On 11/8/05, Larry Wall <[EMAIL PROTECTED]> wrote: > On Tue, Nov 08, 2005 at 10:55:05AM -0500, Matt Fowles wrote: > : Patrick~ > : > : On 11/8/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > : > On Tue, Nov 08, 2005 at 12:57:18PM +, [EMAIL PROTECTED] wrote: > : > > "Patrick R. Michau

Re: Sometimes MakeMaker won't make.

2005-11-08 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin Rob, On Tuesday 08 November 2005 02:40, Rob Bloodgood wrote: > Adam Kennedy wrote: > > Doesn't makemaker only like you if you have a single .pm file just in > > the root directory? > > > > And otherwise you have to have your lib files actually under lib? >

Re: Octal in p6rules (and strings)

2005-11-08 Thread Larry Wall
On Tue, Nov 08, 2005 at 10:55:05AM -0500, Matt Fowles wrote: : Patrick~ : : On 11/8/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: : > On Tue, Nov 08, 2005 at 12:57:18PM +, [EMAIL PROTECTED] wrote: : > > "Patrick R. Michaud" <[EMAIL PROTECTED]> wrote: : > > :And we also get \d:0123 as a che

Default values for instance variables

2005-11-08 Thread Gaal Yahas
Wouldn't it be nice to be able to supply default values for instance variables right in the attribute declaration? class Jabberwock { has $.jaws = "bite"; has $.claws = "catch"; } my $scary = Jabberwock.new; my $wimpy = Jabberwock.new(jaws => "chew", claws =

Re: [perl #37635] [PATCH] Close imcc .include filehandles

2005-11-08 Thread Leopold Toetsch
Nick Glencross (via RT) wrote: This patch closes filehandles which are being leaked by imcc. Thanks, applied - r9845. leo

Re: Octal in p6rules (and strings)

2005-11-08 Thread Matt Fowles
Patrick~ On 11/8/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Tue, Nov 08, 2005 at 12:57:18PM +, [EMAIL PROTECTED] wrote: > > "Patrick R. Michaud" <[EMAIL PROTECTED]> wrote: > > :And we also get \d:0123 as a cheap way of saying \d0123. > > > > I think the ':' changes the meaning of t

Re: [perl #37618] [BUG] PAST compiler borked?

2005-11-08 Thread Leopold Toetsch
Will Coleda via RT wrote: [leo - Tue Nov 08 02:17:18 2005]: Will Coleda (via RT) wrote: wcoleda$ cat foo.pir .sub main :main $P1 = compreg "PAST" $P2 = $P1("Parrot_AST(Py_Module(Stmts(Py_Print(Const(1)") $P2() .end The assertion error is gone, but I now get a segfault running this

[perl #37618] [BUG] PAST compiler borked?

2005-11-08 Thread Will Coleda via RT
> [leo - Tue Nov 08 02:17:18 2005]: > > Will Coleda (via RT) wrote: > > > Trying to patch punie, I get to a point with the following: > > > > wcoleda$ cat foo.pir > > .sub main :main > >$P1 = compreg "PAST" > >$P2 = $P1("Parrot_AST(Py_Module(Stmts(Py_Print(Const(1)") > >$P2() > >

Re: Sometimes MakeMaker won't make.

2005-11-08 Thread Adriano Ferreira
On 11/8/05, David Landgren <[EMAIL PROTECTED]> wrote: > >> Adam Kennedy wrote: > >>> Doesn't makemaker only like you if you have a single .pm file just in > >>> the root directory? > >>> And otherwise you have to have your lib files actually under lib? > The trouble is... I *like* having the file

[perl #37635] [PATCH] Close imcc .include filehandles

2005-11-08 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #37635] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37635 > This patch closes filehandles which are being leaked by imcc. Closing filehandles is

Re: Octal in p6rules (and strings)

2005-11-08 Thread Patrick R. Michaud
On Tue, Nov 08, 2005 at 12:57:18PM +, [EMAIL PROTECTED] wrote: > "Patrick R. Michaud" <[EMAIL PROTECTED]> wrote: > :And we also get \d:0123 as a cheap way of saying \d0123. > > I think the ':' changes the meaning of the rule, so you still need > '\d0123' (or preferably something shorter) for

Re: Octal in p6rules (and strings)

2005-11-08 Thread hv
"Patrick R. Michaud" <[EMAIL PROTECTED]> wrote: :And we also get \d:0123 as a cheap way of saying \d0123. I think the ':' changes the meaning of the rule, so you still need '\d0123' (or preferably something shorter) for the uncut semantic. Hugo

Re: Sometimes MakeMaker won't make.

2005-11-08 Thread David Landgren
James E Keenan wrote: Rob Bloodgood wrote: Adam Kennedy wrote: Doesn't makemaker only like you if you have a single .pm file just in the root directory? And otherwise you have to have your lib files actually under lib? lib/Tree/Splay.pm lib/Tree/Splay/Node.pm lib/Tree/Splay/IntRange.pm t/01_

realloc(NULL, ...) (was: [perl #37618] [BUG] PAST compiler borked?)

2005-11-08 Thread Leopold Toetsch
Will Coleda (via RT) wrote: Trying to patch punie, I get to a point with the following: wcoleda$ cat foo.pir .sub main :main $P1 = compreg "PAST" $P2 = $P1("Parrot_AST(Py_Module(Stmts(Py_Print(Const(1)") $P2() .end wcoleda$ ../../parrot foo.pir src/packfile.c:2314: failed assertion

Re: Sometimes MakeMaker won't make.

2005-11-08 Thread Adam Kennedy
Doesn't makemaker only like you if you have a single .pm file just in the root directory? And otherwise you have to have your lib files actually under lib? lib/Tree/Splay.pm lib/Tree/Splay/Node.pm lib/Tree/Splay/IntRange.pm t/01_basics.t t/02_compat.t Makefile.PL MANIFEST - us

Re: Octal in p6rules (and strings)

2005-11-08 Thread Patrick R. Michaud
On Mon, Nov 07, 2005 at 03:05:06PM -0800, Larry Wall wrote: > On Mon, Nov 07, 2005 at 02:47:05PM -0600, Patrick R. Michaud wrote: > : > : But for the :w issue, we can always solve it with the colon: > : > : > : > : \d:065 = A digit (cut) followed by "065" > : > > : > That doesn't extend t