Re: Pugs MetaClass Model Picture

2005-08-12 Thread Autrijus Tang
On Sat, Aug 13, 2005 at 01:08:38AM +0800, Autrijus Tang wrote: > As promised on #perl6, today I produced a drawing showing how the > Perl 6 metamodel would work in Pugs. It aims to cover the common > elements between Perl5, JavaScript and Haskell editions: > > http://pugscode.org/images/metam

Re: [perl #36882] [BUG] PGE globber, empty strings

2005-08-12 Thread Will Coleda
Updating Data::Escape seems like a better option to me. On Aug 12, 2005, at 3:12 PM, Patrick R. Michaud wrote: On Fri, Aug 12, 2005 at 11:37:53AM -0700, Will Coleda wrote: # New Ticket Created by Will Coleda # Please include the string: [perl #36882] # in the subject line of all future corr

Re: [perl #36882] [BUG] PGE globber, empty strings

2005-08-12 Thread Patrick R. Michaud
On Fri, Aug 12, 2005 at 11:37:53AM -0700, Will Coleda wrote: > # New Ticket Created by Will Coleda > # Please include the string: [perl #36882] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/rt3/Ticket/Display.html?id=36882 > > > > Trying to glo

[perl #36884] [TODO] teardown parrot cvs repo

2005-08-12 Thread via RT
# New Ticket Created by jerry gay # Please include the string: [perl #36884] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36884 > since parrot has migrated from cvs to svn, and there's little chance it'll migrate back, t

[perl #36882] [BUG] PGE globber, empty strings

2005-08-12 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #36882] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36882 > Trying to glob empty strings causes a bus error. I would expect this to be a match. wo

Re: my $pi is constant = 3;

2005-08-12 Thread Larry Wall
On Fri, Aug 12, 2005 at 04:16:52PM +0200, TSa wrote: : HaloO, : : Autrijus Tang wrote: : >Or do you think that people should really write ::= for constants? : : For me that is one option if I want the parser to recognize the : bareword pi and attach the same meaning as the literal 3. : We have at

Pugs MetaClass Model Picture

2005-08-12 Thread Autrijus Tang
As promised on #perl6, today I produced a drawing showing how the Perl 6 metamodel would work in Pugs. It aims to cover the common elements between Perl5, JavaScript and Haskell editions: http://pugscode.org/images/metamodel.png I plan to draw another picture showing the time-indexd bootstra

Re: my $pi is constant = 3;

2005-08-12 Thread Larry Wall
On Thu, Aug 11, 2005 at 09:52:18PM -0700, Ashley Winters wrote: : On 8/11/05, Larry Wall <[EMAIL PROTECTED]> wrote: : > So either we have to bifurcate the concept into "temporarily constant" : > and "permanently constant", or we force people to distinguish with ::= : > (or "is constant('foo')"), or

Re: Set operators in Perl 6 [was Re: $object.meta.isa(?) redux]

2005-08-12 Thread Larry Wall
On Fri, Aug 12, 2005 at 04:30:09PM +0200, TSa wrote: : HaloO, : : Larry Wall wrote: : >[..] but since sets are : >immutable values, : : Does that imply they travel in $vars and are a subtype : of Value? I believe so. : Is Undef of Set the Set::Empty? I don't think so. The empty set should pro

Re: Classes as special undefs (+ slot call syntax proposal)

2005-08-12 Thread TSa
TSa wrote: :Pair%Hash $Item@Array Here I forget to mention the beautiful symmetry: | arity access | 1| 0..Inf ---+---+- keyed | :Pair | %Hash positional | $Item | @Array Regards, -- $TSa.greeting := "HaloO"; # mind the echo!

Re: Set operators in Perl 6 [was Re: $object.meta.isa(?) redux]

2005-08-12 Thread TSa
HaloO, Larry Wall wrote: [..] but since sets are immutable values, Does that imply they travel in $vars and are a subtype of Value? Is Undef of Set the Set::Empty? Is Set::Empty false? we need only provide an alternate comparison to the constructor, and the set itself needn't remember it. O

Re: my $pi is constant = 3;

2005-08-12 Thread TSa
HaloO, Autrijus Tang wrote: Or do you think that people should really write ::= for constants? For me that is one option if I want the parser to recognize the bareword pi and attach the same meaning as the literal 3. We have at least my ::pi ::= 3; my enum ; # I hope the whitespace do

Re: Test::Code

2005-08-12 Thread Ricardo SIGNES
* David Golden <[EMAIL PROTECTED]> [2005-08-12T09:10:21] > Won't "&is_code" get called that way? Should this be: > > ok defined \&is_code; No. C will do the right thing, here. Taking a reference to an undefined sub, however, will always return a defined value: a coderef that, when called,

Re: Test::Code

2005-08-12 Thread David Golden
Ivan Tubert-Brohman wrote: Isn't ok defined *::is_code{CODE}; just a convoluted way of saying ok defined &is_code; Won't "&is_code" get called that way? Should this be: ok defined \&is_code; David Golden

Re: [perl #36812] Compiling Pugs against Parrot

2005-08-12 Thread Adrian Lambeck
> Strange. You could replace the .IGLOBALS_CONFIG_HASH with it's value (6) > (and drop the .include line) and try to track down what's wrong with: > > $ bin/parrot parrot-config.imc prefix I did that - and the same with line 56 concerning iterator.pasm because that also did not work. Afterwards i

Re: [perl #36862] [RESOLVED] [PATCH] m4 tests compatible with Win32

2005-08-12 Thread Francois PERRAD
At 10:42 11/08/2005 -0700, you wrote: According to our records, your request regarding "[PATCH] m4 tests compatible with Win32" has been resolved. the patch wasn't correctly applied. the test fails on Win32 : # Failed test (m4\t\builtins\010_sysval.t at line 26) # got: ''$true'

Re: Classes as special undefs (+ slot call syntax proposal)

2005-08-12 Thread TSa
HaloO, Larry Wall wrote: On Thu, Aug 11, 2005 at 04:47:49PM +0200, TSa wrote: : >defined($spot); # false!? : : true! Even for my $spot = ::Dog because when my is evaluated the : name ::Dog has be be bound, AUTOLOADED or by whatever means become : available. What does binding have to