[ANNOUNCE] Test::Builder/More/Simple 0.60_02

2005-08-09 Thread Michael G Schwern
http://www.pobox.com/~schwern/src/Test-Simple-0.60_02.tar.gz or http://svn.schwern.org/svn/Test-Simple/trunk or a CPAN near you. This is an alpha release of Test::More and its underlying Test::Builder. The purpose of this release is to get people trying out the new Test::Builder::Module. This m

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread TSa (Thomas Sandlaß)
HaloO, Stevan Little wrote: Here is a 10,000 ft view of the metamodel prototype I sketched out the other day (http://svn.openfoundry.org/pugs/perl5/Perl6-MetaModel/docs/ 10_000_ft_view.pod). It should shed a little light on this discussion. There you have i(Foo) - instance of Foo

Re: PXPerl 5.8.7-4 released with Windows binaries of Pugs 6.2.9

2005-08-09 Thread Robert
Grégoire Péan wrote: Sorry Gmail hid your last email Robert. I installed PXPerl. When I go to install DBD::SQLite I get "make errors" and it won't install. Since I have never dealt with this on Windows, do I talk to the PXPerl guy(s) or the DBD::SQLite guy? I am guessing that DBD::SQLite doesn

[perl #36841] PATCH minor comment fixup request in pir-mode.el

2005-08-09 Thread via RT
# New Ticket Created by Jim McKim # Please include the string: [perl #36841] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36841 > The file pir-mode.el defines an editing mode for emacs/xemacs that makes thing very nice

[perl #36843] [PATCH] m4 with MinGW

2005-08-09 Thread François
# New Ticket Created by François PERRAD # Please include the string: [perl #36843] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36843 > svn diff Index: build_tools/parrotdef.pl ===

[perl #36842] interpreter.c breaks at line 277

2005-08-09 Thread via RT
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #36842] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36842 > --- osname= linux osvers= 2.4.21-23.elsmp arch= i386-linux-thread-multi cc=

Re: [perl #36842] interpreter.c breaks at line 277

2005-08-09 Thread Leopold Toetsch
[EMAIL PROTECTED] (via RT) wrote: I was able to compile parrot HEAD a few days ago with no trouble. Today I tried (three times, several hours apart) after svn update, and it broke each time with the below error. src/interpreter.c: In function `get_op_lib_init': src/interpreter.c:277: `Parrot_

How to add a new opcode?

2005-08-09 Thread Gerd Pokorra
For tests I want to add a new opcode to Parrot. I created a file ops/my.ops and do the configuration and make again, but I don't find my opcode in the file lib/Parrot/OpLib/core.pm. How to add a new opcode? Can you give me an example. Gerd Pokorra pokorra[at]uni-siegen.de

Re: Container model - pictures and questions

2005-08-09 Thread TSa
HaloO, Autrijus Tang wrote: 1) I would move the ::name to the Pad level. The idea is that ::name is some less specific supertype of the Fantastique Four ($&@%) if more than one of them exists on the container level. Please annotate this idea with the code. You mean: my $a = 3;

Re: How to add a new opcode?

2005-08-09 Thread Klaas-Jan Stol
Gerd Pokorra wrote: For tests I want to add a new opcode to Parrot. I created a file ops/my.ops and do the configuration and make again, but I don't find my opcode in the file lib/Parrot/OpLib/core.pm. How to add a new opcode? Can you give me an example. Gerd Pokorra pokorra[at]uni-siegen.de

Re: How to add a new opcode?

2005-08-09 Thread Leopold Toetsch
Gerd Pokorra wrote: For tests I want to add a new opcode to Parrot. I created a file ops/my.ops and do the configuration and make again, but I don't find my opcode in the file lib/Parrot/OpLib/core.pm. How to add a new opcode? As Klaas-Jan describes, you can create a dynamic oplib. If this isn'

Re: [DOCS] Updated intro.pod

2005-08-09 Thread Autrijus Tang
On Mon, Aug 08, 2005 at 12:03:25AM +0100, Jonathan Worthington wrote: > So, I re-wrote it. It now talks about PIR, and has examples in PIR. It > mentions how PIR differs from PASM. Subroutines now get a look in to the > introduction, and it mentions in passing that Parrot is capable of doing O

Re: Container model - pictures and questions

2005-08-09 Thread TSa
HaloO, Autrijus Tang wrote: The first one is about the compilation cycle: http://pugscode.org/images/simple-compilation.png Question: where is the namespace in the picture? I would expect it to be build in parallel to the syntax tree between parser and compiler. From there it might be ser

Re: Container model - pictures and questions

2005-08-09 Thread Autrijus Tang
On Tue, Aug 09, 2005 at 02:06:58PM +0200, TSa wrote: > >The first one is about the compilation cycle: > > > >http://pugscode.org/images/simple-compilation.png > > Question: where is the namespace in the picture? > I would expect it to be build in parallel to the > syntax tree between parser an

[perl #36844] [PATCH] various patch for MinGW & Win32

2005-08-09 Thread François
efiles/root.in(working copy) @@ -1461,7 +1461,7 @@ win32-inno-installer : world install $(PERL) tools/dev/mk_inno.pl --version=$(VERSION) --prefix=$(PREFIX) --icudatadir=${icu_datadir} - $(INNO_SETUP) /Q parrot.iss + $(INNO_SETUP) parrot.iss ###

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread Stuart Cook
Stevan, Up until today, I thought I had a good idea of how your metamodel works, but now I'm confused. My main sticking point is that a class Foo seems to have three different aspects: Foo class(Foo) meta(Foo) For each of these, could you please try to explain: 1) Roughly what its responsibilit

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread Stevan Little
Guten Tag Herr Sandlaß, On Aug 9, 2005, at 4:48 AM, TSa (Thomas Sandlaß) wrote: HaloO, Stevan Little wrote: Here is a 10,000 ft view of the metamodel prototype I sketched out the other day (http://svn.openfoundry.org/pugs/perl5/Perl6-MetaModel/docs/ 10_000_ft_view.pod). It should shed a li

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread TSa
HaloO, Stuart Cook wrote: So far, this is what I have picked up; some/most of it is probably wrong: At least your confusion matches nicely with mine :) ~ Foo ~ Is a type that variables etc. can be declared to have Is not an object => I'm really not sure about this... Bare Foo is a names

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread TSa
HaloO Stevan, you wrote: Guten Tag Herr Sandlaß, you know that a formal German greeting in a collequial environment can be interpreted as unfriendly? I don't do that but just wanted to state the fact. The next level where a 1:n relation exists is below meta(Foo) to pure meta. Not entirel

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread Autrijus Tang
On Tue, Aug 09, 2005 at 06:36:28PM +0200, TSa wrote: > But Smalltalk is a typeless language that dispatches along the lines > of the (meta)class/(meta)object links. I propose to call this kind > of thing slot dispatch and reserve single and multi method dispatch for > the type based approach. Don't

Re: [DOCS] Updated intro.pod

2005-08-09 Thread Jonathan Worthington
"Autrijus Tang" <[EMAIL PROTECTED]> wrote: On Mon, Aug 08, 2005 at 12:03:25AM +0100, Jonathan Worthington wrote: > So, I re-wrote it. It now talks about PIR, and has examples in PIR. It > mentions how PIR differs from PASM. Subroutines now get a look in to > the > introduction, and it mention

Re: [perl #36841] PATCH minor comment fixup request in pir-mode.el

2005-08-09 Thread chromatic
On Mon, 2005-08-08 at 17:40 -0700, Jim McKim wrote: > The file pir-mode.el defines an editing mode for emacs/xemacs that makes > thing very nice when editing imcc sources. There is a two line comment > near the beginning of the file that describe how best to install the > mode. I had to remove

Re: more svn ci privs (was: [perl #36597] [PATCH]Dominance Frontiers)

2005-08-09 Thread Curtis Rawls
Can you check on the status of my commit access? I tried committing today, and got this error: $ svn commit --file ../logmsg Authentication realm: perl.org Username: cgrawls Password for 'cgrawls': svn: Commit failed (details follow): svn: MKACTIVITY of /parrot/!svn/

Re: Hoisting lexical declarations

2005-08-09 Thread Larry Wall
On Mon, Aug 01, 2005 at 02:06:28AM +0800, Autrijus Tang wrote: : Pugs did not support inline variable declarations, largely because the problem : caused by this construct: : : { : say "values of β will give rise to dom!"; : $x = $x + my $x if $x; : #1 #2 #3#4 :

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread Stevan Little
Stuart, On Aug 9, 2005, at 9:25 AM, Stuart Cook wrote: Stevan, Up until today, I thought I had a good idea of how your metamodel works, but now I'm confused. My main sticking point is that a class Foo seems to have three different aspects: Foo class(Foo) meta(Foo) For each of these, could yo

Re: Hoisting lexical declarations

2005-08-09 Thread Autrijus Tang
On Tue, Aug 09, 2005 at 12:33:48PM -0700, Larry Wall wrote: > : Alternatively, this could raise a warning and treat the second my() > : as a no-op. Personally, I'm in favour of an exception. > > I think the exception should certainly be the default, perhaps with > the other behavior pragmatically

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread Stevan Little
On Aug 9, 2005, at 12:36 PM, TSa wrote: HaloO Stevan, you wrote: Guten Tag Herr Sandlaß, you know that a formal German greeting in a collequial environment can be interpreted as unfriendly? I don't do that but just wanted to state the fact. My apologies, no unfriendliness intended :) The

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread Stevan Little
On Aug 9, 2005, at 10:52 AM, TSa wrote: ~ Foo ~ Is a type that variables etc. can be declared to have Is not an object => I'm really not sure about this... Bare Foo is a namespace lookup. Yes, TSa is right. Everything below this is Type-stuff and I will leave that to him (up until the Met

$object.meta.isa(?) redux

2005-08-09 Thread Stevan Little
Howdy, I wanted to make sure this question had a chance to get addressed, so I am seperating it from the other thread which has digressed into the depths of the metamodel (much to my delight too). So..., as described in the other thread, the following statements are true about the metamodel.

Re: $object.meta.isa(?) redux

2005-08-09 Thread Larry Wall
On Tue, Aug 09, 2005 at 05:08:43PM -0400, Stevan Little wrote: : Howdy, : : I wanted to make sure this question had a chance to get addressed, so I : am seperating it from the other thread which has digressed into the : depths of the metamodel (much to my delight too). : : So..., as described i

$obj.meta.add_method('foo' => ???)

2005-08-09 Thread Stevan Little
More MOP related questions :) In the p5 MetaModel, you can do the following: $obj->meta->add_method('foo' => Perl6::Method->create_instance_method(sub { ... })); $obj->meta->add_method('foo' => Perl6::Method->create_class_method(sub { ... })); $obj->meta->add_method('foo' => Perl6::Method->cre

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread Larry Wall
On Tue, Aug 09, 2005 at 03:54:23PM -0400, Stevan Little wrote: : Stuart, : : On Aug 9, 2005, at 9:25 AM, Stuart Cook wrote: : >Stevan, : > : >Up until today, I thought I had a good idea of how your metamodel : >works, but now I'm confused. My main sticking point is that a class : >Foo seems to ha

In languages/, make test bc dies because I don't have antlr

2005-08-09 Thread Amir Karger
Running make test in languages dies because make bc.test tries to run antlr, and I don't have antlr. Should configure test for its existence or something? -Amir

Re: [perl #36842] interpreter.c breaks at line 277

2005-08-09 Thread Amir Karger
I ran with --without-icu but I never typed in --cgoto=0. Anyway, make realclean did fix the problem. When do I need to rerun configure and/or make clean/realclean? (I guess "when it breaks" is an OK answer.) Btw, if I want to rerun configure with the same -- options, is there a trivial way to do t

Re: Modules::Starter question

2005-08-09 Thread Robert
Dave Cross wrote: On Fri, Aug 05, 2005 at 11:32:45AM -0400, Robert wrote: I am creating my first module (finally) and I was told a while ago to use Module::Starter. Which I did. I am fine there. When I look at the code generated I see that all the POD stuff is inline while I prefer to see POD s

Re: $object.meta.isa(?) redux

2005-08-09 Thread Stevan Little
Larry, On Aug 9, 2005, at 6:18 PM, Larry Wall wrote: : Personally I am not a fan of the 'is_a' name, I just did it one day, : and it sort of stuck. Well, hey, I'm not a fan of the "isa" name, so I guess we're even. fair enough :) : But I do think we need to find a way to : differentiate bet

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-09 Thread Stevan Little
Larry, On Aug 9, 2005, at 7:19 PM, Larry Wall wrote: : >So far, this is what I have picked up; some/most of it is probably : >wrong: : > : >~ Foo ~ : >Is a type that variables etc. can be declared to have : : That is one way to look at it I suppose. The reality is that there will : be no actua

Re: In languages/, make test bc dies because I don't have antlr

2005-08-09 Thread Bernhard Schmalhofer
Amir Karger schrieb: Running make test in languages dies because make bc.test tries to run antlr, and I don't have antlr. Should configure test for its existence or something? Yes, there is already a config-test for ANTLR, but obviously it isn't used yet. ANTLR isn't needed anyways, as the