Test::Builder and Test::Builder::Tester Ports

2005-08-08 Thread chromatic
Hi everyone, Prompted by Geoff Young and Jeff Horwitz, I've written and checked in pure Parrot ports of Test::Builder and Test::Builder::Tester. They're complete enough to work, though they're missing a couple of nice features I haven't figured out how to add yet. The next goal is to port Test::

"use Test::More 'no_diag'"; deprecated

2005-08-08 Thread Michael G Schwern
The 'no_diag' behavior of Test::More has been made a Test::Builder method. It should have been one in the first place. "use Test::More 'no_diag'" has been deprecated. I don't want the behavior going forward into Test::Builder::Module. Instead, use the no_diag() method of Test::Builder to control

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

2005-08-08 Thread Stevan Little
Mark, To add to what I explained re: Class objects. We have instance methods and class methods now in Perl 6, as well as instance attributes and class attributes. The way I view Class objects are as such: A Class object is to class methods as an instance is to instance methods. Meaning

Re: Inline POD vs not (was Re: Modules::Starter question)

2005-08-08 Thread Ivan Tubert-Brohman
David Golden wrote: As a vim user, I found it helpful to edit my perl.vim syntax file like so: " Use only the bare minimum of rules - if exists("perl_fold") + if exists("perl_fold_pod") syn region perlPOD start="^=[a-z]" end="^=cut" fold else syn region perlPOD start="^=[a-z]" end="^

Re: [perl #36755] [PATCH] dynclasses with MinGW32

2005-08-08 Thread Jonathan Worthington
"François PERRAD" <[EMAIL PROTECTED]> wrote: At 09:40 05/08/2005 -0700, you wrote: If using ${ld_out} won't break stuff for MinGW32, I can apply the patch with this fix (no need for you to send a new one) unless I spot any other issues. If it does, then we need to work out a way of making MinG

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

2005-08-08 Thread Stevan Little
Mark, On Aug 8, 2005, at 4:26 PM, Mark Reed wrote: Coming in late here, but it seems odd to have an actual class called "MetaClass". The meta-object protocols with which I am familiar have the concept of a metaclass (a class whose instances are themselves classes), and the class Class is su

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

2005-08-08 Thread Grégoire Péan
Hello, As regards to the benefits over ActivePerl, yes, PXPerl is faster for most scripts, as perlbench reports it. Besides, PXPerl has many more modules already compiled and installed than ActivePerl has. And above all, PXPerl has Parrot and Pugs inside; if you want to play with Perl 6 language w

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

2005-08-08 Thread Grégoire Péan
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't like nmake or

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

2005-08-08 Thread Mark Reed
Coming in late here, but it seems odd to have an actual class called "MetaClass". The meta-object protocols with which I am familiar have the concept of a metaclass (a class whose instances are themselves classes), and the class Class is such a metaclass, but where does a class named MetaClass fit

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

2005-08-08 Thread Stevan Little
Hello All, Since autrijus is now busy porting the P5 metamodel prototype into Haskell for use in Pugs, I have decided to begin work on documenting the Perl6::MetaModel prototype modules more thoroughly. The first step I see in this is to define a Meta Object Protocol (aka - the stuff you can

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

2005-08-08 Thread Robert
I guess I didn't post my question right. 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't like nmake or mingw o

[perl #29836] [PATCH] No need to skip some tests on Cygwin

2005-08-08 Thread Bernhard Schmalhofer via RT
> All extend and thread tests have passed for me on trunk with normal > build. timer seems to pass outside the harness, but isn't happy inside > it. Signal seems to have a 'Signal 1' message in the output which breaks > the test. > > I'm just going to repeat this to double check things. I'll a

[perl #36836] dynclasses are not builing on Cygwin

2005-08-08 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #36836] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36836 > Nick Glencross reported on p6i that dynclasses are not being built.

[perl #36835] Test 17 of t/op/trans.t failing on Cygwin

2005-08-08 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #36835] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36835 > This was reported by Nick Glencross on p6i: t/op/trans. #

Re: Container model - pictures and questions

2005-08-08 Thread Autrijus Tang
On Mon, Aug 08, 2005 at 06:04:51PM +0200, "TSa (Thomas Sandla�)" wrote: > Autrijus Tang wrote: > >If I'm mistaken, please let me know, preferably by suggesting > >new arrangements on the diagram. :-) > > Without judging your mistakes, here are my comments to the > container picture. > > 1) I woul

Re: Container model - pictures and questions

2005-08-08 Thread TSa (Thomas Sandlaß)
HaloO, Autrijus Tang wrote: If I'm mistaken, please let me know, preferably by suggesting new arrangements on the diagram. :-) Without judging your mistakes, here are my comments to the container picture. 1) I would move the ::name to the Pad level. The idea is that ::name is some less spe

Re: Elimination of Item|Pair and Any|Junction

2005-08-08 Thread TSa (Thomas Sandlaß)
HaloO, Autrijus Tang wrote: On Thu, Jul 28, 2005 at 09:27:00AM -0700, Larry Wall wrote: Or maybe Any really does mean "Object" and we're just viewing our hierarchy too strictly if we make every relationship "isa". That's one thing that neither this formulation nor Thomas's are making very cle

Re: [perl #36812] Compiling Pugs against Parrot

2005-08-08 Thread Leopold Toetsch
Adrian Lambeck wrote: r8841 (regarding root.in) was bogus - I dropped too much. Fixed in r8853. agree - the svn version is working now - I updated my patch for root.in but it still does not work :-(. Do I need to patch something else too ? Right now I have patches for config/gen/makefiles/r

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

2005-08-08 Thread Autrijus Tang
On Mon, Aug 08, 2005 at 09:39:41AM -0400, Robert wrote: > Here is a question out of ignorance then. I currently use ActiveState but > the ability to use CPAN vs PPM is kind of nice. Since AS only releases stuff > as binaries, they work. Since I have to compile with PXPerl am I going to > have probl

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

2005-08-08 Thread Robert
Here is a question out of ignorance then. I currently use ActiveState but the ability to use CPAN vs PPM is kind of nice. Since AS only releases stuff as binaries, they work. Since I have to compile with PXPerl am I going to have problems with nmake on Windows (since most modules lean toward beind

Re: [perl #36812] Compiling Pugs against Parrot

2005-08-08 Thread Adrian Lambeck
> r8841 (regarding root.in) was bogus - I dropped too much. Fixed in > r8853. agree - the svn version is working now - I updated my patch for root.in but it still does not work :-(. Do I need to patch something else too ? Right now I have patches for config/gen/makefiles/root.in and parrot-conf

Re: Cygwin test status

2005-08-08 Thread Nick Glencross
> As you'll see there's a 'Signal 1' message which causes the test to > fail. I'm going to have a look into now. [dynclasses all fail as they > haven't been built] Not being able to find where the 'Signal 1' message was coming from, I've updated cygwin and sure enough the signal test passes now ..

Translating (or at least parsing) Java interface definitions

2005-08-08 Thread Tim Bunce
Anyone done any work on parsing Java interface definitions? And, ideally, translating them into roughly equivalent Perl 6? Tim.

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

2005-08-08 Thread Autrijus Tang
On Mon, Aug 08, 2005 at 08:58:39AM -0400, Robert wrote: > Just started here and I found PXPerl. What are the benefits of this over the > ActiveState version? Supposedly it's built with Intel C compiler, so it's a bit faster; also you can choose among VC++, GCC and Intel C to compile further CPAN m

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

2005-08-08 Thread Robert
Just started here and I found PXPerl. What are the benefits of this over the ActiveState version? Robert

Cygwin test status

2005-08-08 Thread Nick Glencross
[This isn't my usual email address, and it probably won't thread properly; sorry!] Strangely enough, timer, which I thought was failing last night, seems to be ok now. Following from my previous posting about the failing cygwin tests we have: trans: == t/op/trans. #

Re: Inline POD vs not (was Re: Modules::Starter question)

2005-08-08 Thread David Golden
Ivan Tubert-Brohman wrote: * The code gets "lost" among the documentation, as often you have more documentation than code. Syntax highlighting reduces the problem, but the POD still takes half the screen if you have short subs. Another option would be to dust the code folding features of my ed

Re: Calling SUPER methods

2005-08-08 Thread Leopold Toetsch
Klaas-Jan Stol wrote: Hi, I was wondering if it is possible to call specific methods from a parent PMC from another method in your (child) PMC, for some other object than SELF. Yes, see below. My situation may be a bit complex, so I'll explain: I have a LuaTable PMC, extending the Hash P

Re: Complete type inferencing

2005-08-08 Thread TSa (Thomas Sandlaß)
HaloO, Autrijus Tang wrote: Yes, I'm aware of Theta's static where clauses, but Perl 6's where clause is much more dynamic and almost always undecidable. I know, but what does that buy the programmer? I see a type system as support of a declarative programming style. Thus the dynamic part of t

Re: Container model - pictures and questions

2005-08-08 Thread Autrijus Tang
On Sun, Aug 07, 2005 at 10:58:01PM +0100, Tim Bunce wrote: > What's missing from the description is that there's some form of > 'pointer' from a container to the cell it currently contains. > (I'm trying to avoid using the term reference.) I have updated the picture. It it marked as "(v2)":

Re: Container model - pictures and questions

2005-08-08 Thread Tim Bunce
[I'm going to be a little pedantic here because I think it's worth it given the need for clarity.] On Sun, Aug 07, 2005 at 12:55:53AM +0800, Autrijus Tang wrote: > On Sat, Aug 06, 2005 at 12:43:13PM -0400, Matt Fowles wrote: > > The pictures are pretty and the compilation one makes a great deal of