Happy Anniversary, Parrot

2003-09-11 Thread Bryan C. Warnock
Has it been two years already? -- Bryan C. Warnock bwarnock@(gtemail.net|raba.com)

Re: [RFT] File Spec

2003-09-11 Thread Michael G Schwern
On Thu, Sep 11, 2003 at 10:23:27AM +0300, Vladimir Lipskiy wrote: > Unix et al > == > append_filename(".", "") = "" Shouldn't that be "."? > append_filename("a", "") = "" "a" > append_filename("a", "b") = "a/b" What about append_filename("", "b") ? Would that be an error? Don't for

Re: [RFT] File Spec

2003-09-11 Thread Vladimir Lipskiy
> Shouldn't that be "."? > > > append_filename("a", "") = "" > > "a" Umm. Don't think so. At least it will be that way until you convince me that it must be another way > > What about > > append_filename("", "b") ? > > Would that be an error? No. It's okay. I just forgot to mention that ca

Re: passing arguments to tests

2003-09-11 Thread Andrew Savige
Ovid wrote: > I do something like the following to get this effect: > > #!/usr/bin/perl -w > use strict; > use Test::Harness; > use Getopt::Long; > use Pod::Usage; > > GetOptions( > 'help|?'=> sub { pod2usage(-verbose => 2); exit }, > 'verbose!' => \$Test::Harness::verbos

Re: passing arguments to tests

2003-09-11 Thread Ovid
--- Andrew Savige <[EMAIL PROTECTED]> wrote: > Oh, that 'grind' looks like a very handy command but I'm a bit > confused about how you use it. Is it just a handy general-purpose > command or do you use it specifically as part of "make test" in > your CPAN distributions? It's a utility that I w

Re: Embedding interface to PMCs

2003-09-11 Thread Josh Wilmes
If the pdd is amended, let's not forget to update the check_source script- for that matter, if there are any other items that should be added (perhaps some specific checks for the embedding headers), let me know- I'll be happy to add them. --Josh At 18:57 on 09/11/2003 BST, Nicholas Clark <[E

Re: Happy Anniversary, Parrot

2003-09-11 Thread Robert Spier
At Wed, 10 Sep 2003 19:41:46 -0400, Bryan C. Warnock wrote: > Has it been two years already? Apparently so. (Hmm.. we should really fix the FAQ.)

Re: Moving imcc ...

2003-09-11 Thread Juergen Boemmels
Leopold Toetsch <[EMAIL PROTECTED]> writes: > Dan Sugalski wrote: > > > On Mon, 8 Sep 2003, Leopold Toetsch wrote: > > > > >> Imcc is still lacking full integration inside Parrot. To accomplish > >> this, we would need these steps: > > >> > >>- rebuild and commit directory structure $Parrot_Roo

Re: Win32 Build Issues (was Re: Linking pdump and dissassemble)

2003-09-11 Thread Juergen Boemmels
"Vladimir Lipskiy" <[EMAIL PROTECTED]> writes: > static INTVAL > PIO_win32_getblksize(PIOHANDLE fd) > { > > those indentifiers had internal linkage. Bi-bi. Fixed. Thanks applied. boe

RE: [PATH] Get rid of very annoying header warnings on darwin

2003-09-11 Thread Brent Dax
Arthur Bergman: # This gets rid of the very annoying long double might change warning # under Darwin... Thanks, applied (config/init/hints/darwin.pl version 1.7). However, can you see if the diff below my sig (applied against 1.7, not 1.6) works too? If so, it's probably a more appropriate place

Need Win32 Tinder suggestions

2003-09-11 Thread Dan Sugalski
I'm about done setting up the TPF Win32 tinderbox machine. It's a WinXP Pro gadget with Visual Studio .NET. I'm going to install cygwin as well. I'll be setting up tinderboxes for it but, honestly, I don't do windows programming, so I'm not particularly sure what'd be useful. I'm going to try a

FW: Embedding interface to PMCs

2003-09-11 Thread Brent Dax
(Note: I originally meant to send this message to the list, but accidentally hit the wrong "Reply" button. Sorry if this messes up your mailer's threading.) Arthur Bergman: # Is there any documentation, or code I can read to figure out how use # PMCs in embedded mode? I tried to just include parr

Re: Need Win32 Tinder suggestions

2003-09-11 Thread Melvin Smith
Based on current customers I would guess the following in priority: VC/C++ (latest non-.NET version, most people I know are still building their stuff with Pre-.NET versions) Visual Studio .NET Cygwin Borland C++ Builder I love Borland but I have to put it last because I think the 1st 3 covers

Re: Need Win32 Tinder suggestions

2003-09-11 Thread Dan Sugalski
On Thu, 11 Sep 2003, Melvin Smith wrote: > Based on current customers I would guess the following in priority: > > VC/C++ (latest non-.NET version, most people I know are still building > their stuff with Pre-.NET versions) > Visual Studio .NET > Cygwin > Borland C++ Builder I don't have VC/C++

Re: Need Win32 Tinder suggestions

2003-09-11 Thread Melvin Smith
Eep, I was too busy poking fun at Dan about the book I forgot to say: 1) I do not represent IBM nor IBM's preferences for development environment, I was just guessing. You are welcome to add IBM Visual Age stuff in there, let me know if you need a license. :) 2) The P6E book was well done,

Re: Need Win32 Tinder suggestions

2003-09-11 Thread Melvin Smith
I do have an older version of Borland that I can mail you, but I think it is at least 2 releases old As for Microsoft I can't help with a license, but I can probably get us one for IBM Visual Age. I assume you have a lot of disk space? Doesn't Borland have some sort of free download version th

Re: Need Win32 Tinder suggestions

2003-09-11 Thread Dan Sugalski
On Thu, 11 Sep 2003, Melvin Smith wrote: > Eep, I was too busy poking fun at Dan about the book I forgot to say: > > 1) I do not represent IBM nor IBM's preferences for development > environment, I was just guessing. > You are welcome to add IBM Visual Age stuff in there, let me know if >

Re: Need Win32 Tinder suggestions

2003-09-11 Thread Nicholas Clark
On Thu, Sep 11, 2003 at 03:16:15PM -0400, Dan Sugalski wrote: > And it's your job, if you choose to accept it, to help make it horribly > out-of-date. :) Are there going to be (booby) prizes for the people who make the most paragraphs obsolete? Is anyone counting? (Who do I score the U-turn on pa

Re: Need Win32 Tinder suggestions

2003-09-11 Thread Dan Sugalski
On Thu, 11 Sep 2003, Melvin Smith wrote: > I do have an older version of Borland that I can mail you, but I think it > is at least 2 releases old > As for Microsoft I can't help with a license, but I can probably get us > one for IBM Visual Age. I may be able to scare up media and license fro

Re: Need Win32 Tinder suggestions

2003-09-11 Thread Dan Sugalski
On Thu, 11 Sep 2003, Nicholas Clark wrote: > On Thu, Sep 11, 2003 at 03:16:15PM -0400, Dan Sugalski wrote: > > And it's your job, if you choose to accept it, to help make it horribly > > out-of-date. :) > > Are there going to be (booby) prizes for the people who make the most > paragraphs obsole

RE: Need Win32 Tinder suggestions

2003-09-11 Thread Brent Dax
Dan Sugalski: # > (Who do I score the U-turn on page 93 to?) # # Don't have it handy. Which U-turn is that? Presumably, "Coroutines can be implemented in terms of continuations if need be, but that requires using a full continuation-passing function call system, something we chose not to do." --

RE: Need Win32 Tinder suggestions

2003-09-11 Thread Dan Sugalski
On Thu, 11 Sep 2003, Brent Dax wrote: > Dan Sugalski: > # > (Who do I score the U-turn on page 93 to?) > # > # Don't have it handy. Which U-turn is that? > > Presumably, "Coroutines can be implemented in terms of continuations if > need be, but that requires using a full continuation-passing fun

RE: Need Win32 Tinder suggestions

2003-09-11 Thread Brent Dax
Dan Sugalski: # Ah. That one's the collective fault of the denizens of the Little # Languages mailing list and the MIT Lisp and/or Scheme folks. Oh, and in case it wasn't abundantly clear before, I already picked up a copy--a month or so ago, while I was on vacation and needed something to read du

Re: [RFT] File Spec

2003-09-11 Thread Michael G Schwern
On Thu, Sep 11, 2003 at 01:17:29PM +0300, Vladimir Lipskiy wrote: > > Shouldn't that be "."? > > > > > append_filename("a", "") = "" > > > > "a" > > Umm. Don't think so. At least it will be that > way until you convince me that it must be > another way concat_dirnames("a", "") = "a" concat_dirn

Re: Missing Ops

2003-09-11 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > For us, teh equivalent would be returning a PerlInt if we find the > result produces an integral value, and a PerlNum if it doesn't. (Assuming, > of course, that the operation took place on two perl-style PMCs, as other > languages may have different rules

Re: Of AST and YAL

2003-09-11 Thread Leopold Toetsch
Leopold Toetsch <[EMAIL PROTECTED]> wrote: > I'm currently investigating the AST (abstract syntax tree) interface for > Parrot. For getting a feeling, how this could look like, I've > implemented (some parts) of Yet Another Language (YAL). I have put version yal-0.02 on my webpage. You can get it

Re: [PATCH] Small test case exception for ponie

2003-09-11 Thread Arthur Bergman
On Wednesday, September 10, 2003, at 05:55 pm, Leopold Toetsch wrote: From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Wed Sep 10, 2003 5:55:59 pm Europe/London To: [EMAIL PROTECTED] (Arthur Bergman) Cc: [EMAIL PROTECTED] Subject: Re: [PATCH] Small test case exception for ponie Reply-To: [EMAIL

Re: [PATCH] Small test case exception for ponie

2003-09-11 Thread Leopold Toetsch
Arthur Bergman <[EMAIL PROTECTED]> wrote: > Aha, that explains it, I assumed that genclass produced something that > was correct, apparently it didn't :), fixed now and I withdraw my patch. Ah, that explains it too. Sorry. Fixed genclass.pl - thanks. (I'm almost always takint an existing similar

Embedding interface to PMCs

2003-09-11 Thread Arthur Bergman
Hi, Is there any documentation, or code I can read to figure out how use PMCs in embedded mode? I tried to just include parrot/parrot.h in sv.c but that results in a million (or so ;) errors, so using parrot/embed would be nice. (it looks like it isn't finished yet, so it is more a question of

Re: [RFT] File Spec

2003-09-11 Thread Vladimir Lipskiy
Michael G Schwern <[EMAIL PROTECTED]> wrote: > Why wouldn't appending no filename onto a directory result in the directory > being returned? Unless append_filename() guarantees that it will always > return a filepath ending in a filename? Yes. And it guarantees to return a "", when you do someth

[PATH] Get rid of very annoying header warnings on darwin

2003-09-11 Thread Arthur Bergman
Hi, This gets rid of the very annoying long double might change warning under darwin, the warning comes from my config.h which has typedef long double HUGEFLOATVAL; Arthur Index: config/init/hints/darwin.pl === RCS file: /cvs/publ

Re: Embedding interface to PMCs

2003-09-11 Thread Vladimir Lipskiy
- Original Message - From: "Arthur Bergman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 11, 2003 7:14 PM Subject: Embedding interface to PMCs > Hi, > > Is there any documentation, or code I can read to figure out how use > PMCs in embedded m

Re: Embedding interface to PMCs

2003-09-11 Thread Nicholas Clark
On Thu, Sep 11, 2003 at 09:30:29PM +0300, Vladimir Lipskiy wrote: > to document the idea of Juergen Bommels to include the > > extern "C" { > I take it you meant the full game: #ifdef __cplusplus extern "C" { #endif > specification () in each header in pdd7_codingstd, no body had replied), >

Re: [RFT] File Spec

2003-09-11 Thread chromatic
On Thursday, September 11, 2003, at 10:36 AM, Vladimir Lipskiy wrote: If you observe the rules, you won't get into a mess. I'm not convinced "If you don't have users, you won't get into a mess" is a workable design goal for library code. -- c

RE: Need Win32 Tinder suggestions

2003-09-11 Thread Dan Sugalski
On Thu, 11 Sep 2003, Brent Dax wrote: > Dan Sugalski: > # Ah. That one's the collective fault of the denizens of the Little > # Languages mailing list and the MIT Lisp and/or Scheme folks. > > Oh, and in case it wasn't abundantly clear before, I already picked up a > copy--a month or so ago, whil

Re: Need Win32 Tinder suggestions

2003-09-11 Thread Nicholas Clark
On Thu, Sep 11, 2003 at 12:44:05PM -0700, Brent Dax wrote: > Dan Sugalski: > # > (Who do I score the U-turn on page 93 to?) > # > # Don't have it handy. Which U-turn is that? > > Presumably, "Coroutines can be implemented in terms of continuations if > need be, but that requires using a full cont

Re: [RFT] File Spec

2003-09-11 Thread Michael G Schwern
On Thu, Sep 11, 2003 at 08:36:02PM +0300, Vladimir Lipskiy wrote: > > Famous last words: "Our data is perfect, we don't need to check our > inputs." > > Yes. Our data is perfect and we don't need to check our inputs if we > play by rules. And the rules are: > > Always use concat_dirnames to conca

Make test failures with CVS parrot under Electric Fence.

2003-09-11 Thread ndronen
Hi, I built a fresh CVS parrot with garbage collection and linked parrot and imcc against Electric Fence. A few tests failed. The (edited) results are here: http://www.technolalia.com/~ndronen/test-with-gc.txt I don't think the mmap failures are important; I suspect they're induced by

Re: [RFT] File Spec

2003-09-11 Thread Vladimir Lipskiy
Thursday, September 11, 2003 11:36 PM Michael G Schwern <[EMAIL PROTECTED]> wrote: > On Thu, Sep 11, 2003 at 08:36:02PM +0300, Vladimir Lipskiy wrote: > > > Famous last words: "Our data is perfect, we don't need to check our > > inputs." > > > > Yes. Our data is perfect and we don't need to check

RE: puts(foot) on is_deeply() and overloading

2003-09-11 Thread [EMAIL PROTECTED]
To:[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] CC: BCC:[EMAIL PROTECTED] Subject:RE: puts(foot) on is_deeply() and overloading > Jarkko, unless you get a fix from Fergal RSN, please reverse the is_deeply() > patch from Fergal in the core. I'll deal with the problem in the next > ver

Re: puts(foot) on is_deeply() and overloading

2003-09-11 Thread Michael G Schwern
On Thu, Sep 11, 2003 at 05:31:08AM -0400, [EMAIL PROTECTED] wrote: > And what about the 4 other BIG HONKING BUGS that those patches fixed? They > shouldn't even be documented? If they are to be documented anywhere it is in rt.cpan.org. The Test::More documentation is not a bug tracking system. I

Re: puts(foot) on is_deeply() and overloading

2003-09-11 Thread [EMAIL PROTECTED]
> If they are to be documented anywhere it is in rt.cpan.org. The Test::More > documentation is not a bug tracking system. > Sorry to be so troublesome about this, but as RFC 1925's Rule #1 states > "It Has To Work". But it doesn't work! The {} equals { key => []} bug even slightly harmless. If

Re: puts(foot) on is_deeply() and overloading

2003-09-11 Thread Michael G Schwern
On Thu, Sep 11, 2003 at 08:46:26AM -0400, [EMAIL PROTECTED] wrote: > So basically you can't trust is_deeply, eq_array or eq_hash to compare > arrays or hashes. > > Yes the precise details should be on rt.cpan.org but if it was worth noting > that "Display of scalar refs is not quite 100%" in the d