Re: Release 0.1.2 ?

2005-02-23 Thread Leopold Toetsch
William Coleda <[EMAIL PROTECTED]> wrote: > After some distractions I got back to this today. > After doing the merge and resolving all the conflicts (of which there > really weren't that many), I get it to build, and then get a: Great. So 0.1.2 will be delayed until its in? > I'll keep poking a

Re: Parrot_get_runtime_prefix

2005-02-23 Thread Leopold Toetsch
William Coleda <[EMAIL PROTECTED]> wrote: > in src/library.c (main branch), I find: > const char* > Parrot_get_runtime_prefix(Interp *interpreter, STRING **prefix_str) > { > static STRING *s; > static int init_done; ^^ > init_done is never initialized here. What's up? It ought

Re: #perl6, pugscode.org, and more

2005-02-23 Thread Aaron Sherman
On Sun, 2005-02-20 at 02:07 +0800, Autrijus Tang wrote: > Also, I've registered http://pugscode.org/ and populated it with some > basic information. >From the README: Pugs needs the Glasgow Haskell Compiler (GHC) 6.2 or above. To install GHC, download a binary build from

Re: #perl6, pugscode.org, and more

2005-02-23 Thread Aaron Sherman
On Wed, 2005-02-23 at 07:43 -0500, Aaron Sherman wrote: > has anyone considered petitioning the major Linux distribution vendors > to include it in their upcoming releases? [...] > I don't know anything about Haskell, and it would be presumptuous of > me. Face... so... red... Ignore me, this is a

Z machine

2005-02-23 Thread Leopold Toetsch
I've here some small parts of a Z machine code translator. It runs not much more then a hello-worldish program. * written in PIR, using objects * translates Z code files to PIR * ~ 10 opcodes done * objects, props, attributes, abbrevs are all missing I've no time to play with it further, so I'd b

Re: #perl6, pugscode.org, and more

2005-02-23 Thread Rafael Garcia-Suarez
Aaron Sherman wrote in perl.perl6.compiler : > On Wed, 2005-02-23 at 07:43 -0500, Aaron Sherman wrote: >> has anyone considered petitioning the major Linux distribution vendors >> to include it in their upcoming releases? > [...] >> I don't know anything about Haskell, and it would be presumptuous

VTABLE methods and interfaces

2005-02-23 Thread Leopold Toetsch
There was already some discussion about splitting the VTABLE structure into distinct pieces. I'd like to start that task after 0.1.2 is out. Here are some thoughts: 1) Vtable and interfaces The VTABLE structure provides common slots that every PMC must provide and optional parts that roughly cor

Re: Release 0.1.2 ?

2005-02-23 Thread Will Coleda
Leopold Toetsch writes: William Coleda <[EMAIL PROTECTED]> wrote: After some distractions I got back to this today. After doing the merge and resolving all the conflicts (of which there really weren't that many), I get it to build, and then get a: Great. So 0.1.2 will be delayed until its in? Yo

Re: #perl6, pugscode.org, and more

2005-02-23 Thread Steve Peters
On Wed, Feb 23, 2005 at 03:11:29PM -, Rafael Garcia-Suarez wrote: > Aaron Sherman wrote in perl.perl6.compiler : > > On Wed, 2005-02-23 at 07:43 -0500, Aaron Sherman wrote: > >> has anyone considered petitioning the major Linux distribution vendors > >> to include it in their upcoming releases?

How are types related to classes and roles?

2005-02-23 Thread Thomas Sandlaß
HaloO, I'm very puzzled about what is meant by type and class in Perl6. In the sort ruling http://groups-beta.google.com/group/perl.perl6.language/msg/1eb1ed4608f5604d we saw a system of types that allow to nicely dispatch into different version of &sort. OTOH every class or role name can serve the

Re: VTABLE methods and interfaces

2005-02-23 Thread Sam Ruby
Leopold Toetsch wrote: 2) Vtable entries should be real methods All non-defaulted, non-inherited entries of a vtable interface should be available as methods, like now with the METHOD keyword. This allows eventually code like this: Px = Py."__pop_pmc"() or Px = Py."__string"()# $x =

PUGS: show correct version automagically

2005-02-23 Thread James Mastros
See attached diff. Index: src/Help.hs === --- src/Help.hs (revision 216) +++ src/Help.hs (working copy) @@ -2,6 +2,7 @@ #define VERSION "6" #define DATE "" #include "config.h" +#include "Version.h" {- Online help and banner

Re: Z machine

2005-02-23 Thread Steve Peters
On Wed, Feb 23, 2005 at 03:02:32PM +0100, Leopold Toetsch wrote: > I've here some small parts of a Z machine code translator. It runs not > much more then a hello-worldish program. > > * written in PIR, using objects > * translates Z code files to PIR > * ~ 10 opcodes done > * objects, props, att

Test.pm runs!

2005-02-23 Thread Autrijus Tang
First, let me thank stevan, steve and benjamin for the wonderful patches. The reason why I didn't reply with "thanks, applied" is because they are now committers, and has committed those tests (and more!) to the Pugs repository. Welcome aboard! We have 10 committers now. :) Next, I'm glad to an

Re: How are types related to classes and roles?

2005-02-23 Thread Larry Wall
On Wed, Feb 23, 2005 at 06:21:02PM +0100, Thomas Sandlaß wrote: : HaloO, : : I'm very puzzled about what is meant by type and class in Perl6. : In the sort ruling : http://groups-beta.google.com/group/perl.perl6.language/msg/1eb1ed4608f5604d : we saw a system of types that allow to nicely dispatch

[PUGS][PATCH] t/base/cond.t

2005-02-23 Thread Norman Nunley
I've patched t/base/cond.t to use the Test lib. Index: t/base/cond.t === --- t/base/cond.t (revision 226) +++ t/base/cond.t (working copy) @@ -1,4 +1,5 @@ use v6; +require Test; =pod @@ -6,10 +7,10 @@ =cut -say "1..2"; +plan

[PUGS] [PATCH] Testify t/op/{shift,push,magic,unshift,repeat,eval,split,pair,eq}.t

2005-02-23 Thread Jonathan Scott Duff
Here's a patch to make various tests use Test.pm -Scott -- Jonathan Scott Duff [EMAIL PROTECTED] Index: t/op/shift.t === --- t/op/shift.t(revision 234) +++ t/op/shift.t(working copy) @@ -1,14 +1,13 @@ use v6; +requi

Re: [PUGS] [PATCH] Testify t/op/{shift,push,magic,unshift,repeat,eval,split,pair,eq}.t

2005-02-23 Thread Stevan Little
I applied this patch for all except split.t which had already been patched earlier. It's Revision 237 - Steve On Feb 23, 2005, at 8:10 PM, Jonathan Scott Duff wrote: Here's a patch to make various tests use Test.pm -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]

[PUGS] Keeping track of un-implemented features

2005-02-23 Thread Stevan Little
Autrijus, As I am writing more and more tests for PUGS, I have run into a number of un-implemented features (of course this is based on my interpretation of the various perl 6 docs out there, I may have it all wrong). For some of these features I have created TODO tests, and still others are ju

[PUGS] Documentation?

2005-02-23 Thread Stevan Little
Autrijus, All, Should we start some kind of documentation portion of the PUGS project? Or do you think maybe it is too early for that? - Stevan

TAP and STDERR

2005-02-23 Thread chromatic
Hi there, The TAP documentation in 2.47_01 says: A harness must only read TAP output from standard output and not from standard error. The way Test::Builder works, diagnostics always go to STDERR. Is there a reason for this beyond "It's tricky to correlate diagnostics to the appropriate

Re: [PUGS] Documentation?

2005-02-23 Thread Patrick R. Michaud
On Wed, Feb 23, 2005 at 09:22:11PM -0500, Stevan Little wrote: > Autrijus, All, > > Should we start some kind of documentation portion of the PUGS project? > Or do you think maybe it is too early for that? It's never too early to start documentation. Pm

Re: TAP and STDERR

2005-02-23 Thread Andy Lester
A harness must only read TAP output from standard output and not from standard error. I wasn't considering the diagnostics to necessarily be TAP output. They're allowed, but not necessary to the running of the test. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: [PUGS] Documentation?

2005-02-23 Thread Jonathan Scott Duff
On Wed, Feb 23, 2005 at 09:22:11PM -0500, Stevan Little wrote: > Autrijus, All, > > Should we start some kind of documentation portion of the PUGS project? > Or do you think maybe it is too early for that? Isn't that what the Apocrypha are ... er, will be? -Scott -- Jonathan Scott Duff [EMAIL

Build on Win32 with MinGW

2005-02-23 Thread Michal Jurosz
See my step by step quide and results: http://wiki.kn.vutbr.cz/mj/index.cgi?Build%20Parrot%20with%20MinGW Refactoring is welcome. I am C, Parror and English beginner :-). Michal Jurosz

Re: [PUGS] Documentation?

2005-02-23 Thread Steve Peters
On Wed, Feb 23, 2005 at 09:22:11PM -0500, Stevan Little wrote: > Autrijus, All, > > Should we start some kind of documentation portion of the PUGS project? > Or do you think maybe it is too early for that? > > - Stevan > That's partially what http://pugs.kwiki.org is for :)

Re: TAP and STDERR

2005-02-23 Thread David Wheeler
On Feb 23, 2005, at 6:42 PM, chromatic wrote: The way Test::Builder works, diagnostics always go to STDERR. Is there a reason for this beyond "It's tricky to correlate diagnostics to the appropriate test numbers"? (I agree with that, but I'm willing to take my chances on certain occasions.) Perso