Re: Synopsis 2 draft 1

2004-08-14 Thread Larry Wall
On Sat, Aug 14, 2004 at 09:56:34PM +, Smylers wrote: : > You may interpolate a package name into an identifier using : > C<::($expr)> where you'd ordinarily put the package name. The parens : > are required. : > : > XXX Actually, C<::{$expr}> might be made to work instead, given that : > that

Re: Something broke for me

2004-08-14 Thread Michel Pelletier
On Sat, 14 Aug 2004 09:17:25 +0200 Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Michel Pelletier <[EMAIL PROTECTED]> wrote: > > > The first is multi-inheritance stopped working, but that's not as big a > > deal as the new problem. > > I've changed a few bits in object code during Pie-thon hackin

Re: Synopsis 2 draft 1

2004-08-14 Thread Larry Wall
On Sat, Aug 14, 2004 at 09:56:34PM +, Smylers wrote: : > A bare closure also interpolates in double-quotish context. It may : > not be followed by any dereferencers, since you can always put them : > inside the closure. ... The old disambiguation syntax ... is dead. : > Use closure curlies in

Re: Synopsis 2 draft 1

2004-08-14 Thread Smylers
Larry Wall writes: > Synopsis 2: Bits and Pieces Nice. (Minor pod corrections sent as a diff under separate cover.) > You may interpolate a package name into an identifier using > C<::($expr)> where you'd ordinarily put the package name. The parens > are required. > > XXX Actually, C<::{$expr

Re: Synopsis 2 draft 1

2004-08-14 Thread Smylers
@@ -165,7 +165,7 @@ =head1 Built-In Data Types =item * Built-in object types start with an uppercase letter: Int, Num, Str, -Bit, Ref, Scalar, Array, Hash, Rule and Code]. Non-object (value) types +Bit, Ref, Scalar, Array, Hash, Rule and Code. Non-object (value) types are lowercase: int, num

[perl #31115] [PATCH] Vtable manipolation functions

2004-08-14 Thread via RT
# New Ticket Created by Mattia Barbon # Please include the string: [perl #31115] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31115 > Hello, this patch adds two functions to the extension interface: void Parrot_PMC_

[perl #31114] [PATCH] Dynext functions

2004-08-14 Thread via RT
# New Ticket Created by Mattia Barbon # Please include the string: [perl #31114] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31114 > Hello, I am not sure about this patch. It splits part of Parrot_load_lib into a Pa

[perl #31113] [PATCH] Parrot_load_bytecode fixes

2004-08-14 Thread via RT
# New Ticket Created by Mattia Barbon # Please include the string: [perl #31113] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31113 > Hello, this patch allows calling Parrot_load_bytecode when there is no active Pack

[perl #31112] [PATCH] Add --include directive to pmc2c2.pl

2004-08-14 Thread via RT
# New Ticket Created by Mattia Barbon # Please include the string: [perl #31112] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31112 > Hello, the attached patch adds a --include command line options specifying one or

Re: Handling block parameters in Ruby

2004-08-14 Thread mark sparshatt
Larry Wall wrote: On Fri, Aug 13, 2004 at 02:12:06PM +0100, mark sparshatt wrote: : My main worry with this approach is how it would interact with slurpy : args. I mean if method is defined as : : def method(*args) : ... : end : : how do I make sure that $clos doesn't become part of args? In Pe

Re: Why do users need FileHandles?

2004-08-14 Thread David Storrs
On Fri, Aug 13, 2004 at 10:53:02AM +0100, Nicholas Clark wrote: > On Wed, Aug 11, 2004 at 03:25:20PM -0700, David Storrs wrote: > > On Sat, Aug 07, 2004 at 03:55:21PM +0100, Nicholas Clark wrote: > > > > However, Acme::Intraweb hasn't been updated for a while, whereas CPANPLUS > > > has, so I'm n

Re: Synopsis 1 draft 1

2004-08-14 Thread Smylers
Larry Wall writes: > Scaling is one of those areas where Perl needs to be > multiparadigmatic and context sensitive. Smylers

Synopsis 2 draft 1

2004-08-14 Thread Larry Wall
=head1 Title Synopsis 2: Bits and Pieces =head1 Author Larry Wall <[EMAIL PROTECTED]> =head1 Version Maintainer: Date: Last Modified: Number: 2 Version: 0 This document summarizes Apocalypse 2, which covers small-scale lexical items and typological issues. (These Synopse

Synopsis 1 draft 1

2004-08-14 Thread Larry Wall
=head1 Title Synopsis 1: Overview =head1 Author Larry Wall <[EMAIL PROTECTED]> =head1 Version Maintainer: Date: Last Modified: Number: 1 Version: 0 This document summarizes Apocalypse 1, which covers the initial design concept. (These Synopses also contain updates to refl

[Fwd: [PATCH] Re: [perl #31046] IRIX64 perlnum_36 float output expectation]

2004-08-14 Thread Jarkko Hietaniemi
Still not seeing this in p6i, so resending. Original Message Subject: [PATCH] Re: [perl #31046] IRIX64 perlnum_36 float output expectation Date: Sat, 14 Aug 2004 15:18:01 +0300 From: Jarkko Hietaniemi <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] References: <[EMAIL PROTECTED]> Duh.

Re: Precedence table update

2004-08-14 Thread Larry Wall
On Sat, Aug 14, 2004 at 08:42:51AM -0700, Mark Lentczner wrote: : : On Aug 14, 2004, at 12:17 AM, Larry Wall wrote: : >Here's the current precedence table as I see it, based mostly : >on what the, er, cabal came up with after the Perl conference. : : Okay, time to get out the quill and parchment

Re: Precedence table update

2004-08-14 Thread Mark Lentczner
On Aug 14, 2004, at 12:17 AM, Larry Wall wrote: Here's the current precedence table as I see it, based mostly on what the, er, cabal came up with after the Perl conference. Okay, time to get out the quill and parchment and start work on revising the Periodic Table of the Operators - M

[perl #31119] [PATCH] portability tweak for config/gen/platform/generic/math.c

2004-08-14 Thread via RT
# New Ticket Created by Jarkko Hietaniemi # Please include the string: [perl #31119] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31119 > Doesn't help for the IRIX64 t/pmc/perlnum_36.pasm problem but at least should ma

Re: [perl #31026] Fix generation of src/nci.c to be more efficient

2004-08-14 Thread Leopold Toetsch
Chromatic <[EMAIL PROTECTED]> wrote: > Oh yeah, the goal of this exercise was to cache the hash, Thanks, applied. > It still complains about passing constant C-strings to > hash_put() fixed. leo

Re: Precedence table update

2004-08-14 Thread Smylers
Larry Wall writes: > Also of note is that we decided to keep the relative precedence of > assignment and comma the same as in Perl 5. It's just good > documentation to parenthesize your lists when assigning, Fair enough; documentation is good. > ... and it prevents nasty surprises when C progra

Re: Questions on NCI for nasty library

2004-08-14 Thread chromatic
On Fri, 2004-08-13 at 23:47, Leopold Toetsch wrote: > Hildo Biersma <[EMAIL PROTECTED]> wrote: > > - How do I define a class with constant values that are accessible to > > other classes? > I'd just create an include file with the constants. The dot isn't > allowed in identifiers, so you would

Re: Questions about Exceptions & Re: What Unicode means to us

2004-08-14 Thread Larry Wall
On Sat, Aug 14, 2004 at 12:26:23AM -0400, Michael Stone wrote: : Finally, (and I'm just thinking about charset stuff here), exceptions : frequently involve a bit of string processing. So if the : charset/encoding code starts throwing exceptions, how do we write the : string processing that thos

Re: Something broke for me

2004-08-14 Thread Leopold Toetsch
Michel Pelletier <[EMAIL PROTECTED]> wrote: > The first is multi-inheritance stopped working, but that's not as big a > deal as the new problem. I've changed a few bits in object code during Pie-thon hacking, which is likely the cause for the problem. A small code snippet that exposes the error w

Re: PMC semantics - integer

2004-08-14 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 1:43 PM +0200 8/10/04, Leopold Toetsch wrote: >>We currently have two integer PMCs, we need another one for Python. >>But before just copy&paste another file, I'd really have done that >>right. > I think what we need's a policy here. Larry's weighed in

Re: Questions on NCI for nasty library

2004-08-14 Thread Leopold Toetsch
Hildo Biersma <[EMAIL PROTECTED]> wrote: > This thread got side-track with perl5 issues, so let me ask again: > - Are there any examples of creating a PMC class that maps to a C > structure, with the PMC class (in C) setting defaults and adding > accessor methods? The UnmanagedStruct PMC all

Precedence table update

2004-08-14 Thread Larry Wall
Here's the current precedence table as I see it, based mostly on what the, er, cabal came up with after the Perl conference. [Cabal members: note that I've demoted cmp and <=> from chaining relationals, and I've moved the pipe operators closer together. I've also generalized the two middle categor