Re: Pie-thon state 4

2004-07-16 Thread Dan Sugalski
At 8:10 AM +0200 7/17/04, Leopold Toetsch wrote: 14.07.2004 *Dan's already starting with the Bytecode converter - SNCR* SNCR? Selective Non-catalytic Reaction? Erm... Okay... :) -- Dan --it's like this--- Dan Sugals

Pie-thon state 4

2004-07-16 Thread Leopold Toetsch
Another week's gone. One benchmark (b1.py) is running with Parrot. The code is produced by languages/python/pie-thon.pl. The speed is competitive :) More below. leo The Pie-thon state - 4 # date [- range ] title # description 10.07.2004 Pie-thon 45 - 47 Enhanced complex functionalit

Re: Parrot config - a small perl task

2004-07-16 Thread Leopold Toetsch
Timur Safin <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "Leopold Toetsch" <[EMAIL PROTECTED]> >> On (AFAIK) all systems: opcode_type = intval_type = long. This size has >> to match the pointer size. And floatval_type = double. > It was not exactly true till recent (the count

Re: Parrot config - a small perl task

2004-07-16 Thread Timur Safin
- Original Message - From: "Leopold Toetsch" <[EMAIL PROTECTED]> To: "Perl 6 Internals" <[EMAIL PROTECTED]> Sent: Friday, July 16, 2004 9:42 AM Subject: Parrot config - a small perl task > On (AFAIK) all systems: opcode_type = intval_type = long. This size has > to match the pointer size.

RE: Devel::Cover on Windows, ppm anyone ?

2004-07-16 Thread Gabor Szabo
On Fri, 16 Jul 2004, Jan Dubois wrote: > I've forwarded your message to our build engineer to look into. > > Please send questions about PPM build process to the ppm mailing list > (it only accepts messages from subscribers though). > Thanks everyone for dealing with this. I hope we'll see DC bui

Re: Phalanx: What if full coverage isn't possible?

2004-07-16 Thread Geoffrey Young
>> I just ran into a similar "problem" in POE::Driver::SysRW. For >> portability I have a couple lines similar to >> >> $! = 0 if $! == EAGAIN or $! == EWOULDBLOCK; >> >> EAGAIN and EWOULDBLOCK are identical on most systems. In fact, one is >> usually defined in terms of the other. They dif

Re: push with lazy lists

2004-07-16 Thread Simon Cozens
[EMAIL PROTECTED] (David Storrs) writes: > Does it even make sense to take the Infiniteth element of an array? You should have used a hash in the first place. -- BASH is great, it dumps core and has clear documentation. -Ari Suntioinen

Re: push with lazy lists

2004-07-16 Thread Jonadab the Unsightly One
"Ph. Marek" <[EMAIL PROTECTED]> writes: > Please take my words as my understanding, ie. with no connection to > mathmatics or number theory or whatever. I'll just say what I > believe is practical. [...] > I'd believe that infinity can be integer, ie. has no numbers after > the comma; and infinity

Re: push with lazy lists

2004-07-16 Thread Jonadab the Unsightly One
David Storrs <[EMAIL PROTECTED]> writes: > Does it even make sense to take the Infiniteth element of an array? No. At best, it would be undefined, so we could define it to return undef. > I think I would prefer if using Inf as an array index resulted in a > trappable error. Or that, yeah. --

Re: push with lazy lists

2004-07-16 Thread Jonadab the Unsightly One
Austin Hastings <[EMAIL PROTECTED]> writes: > Half of all numbers in [0, Inf) are in the range [Inf/2, Inf). Which > collapses to the range [Inf, Inf). It's not that simple. By that reasoning, 10% of all numbers in [0,Inf) would be in [Inf/10,Inf), also reducing to the range [Inf,Inf). For tha

RE: Devel::Cover on Windows, ppm anyone ?

2004-07-16 Thread Jan Dubois
> I don't think there is anything I can reasonably do about that from my > side. I suppose it's the price you pay for deviating from the four line > mantra. But if anyone does find out what is actually happening and I > can fix things up on my side I'll be happy to look into it. I suppose I > co

Re: Perl script to .so file

2004-07-16 Thread Stéphane Payrard
RAD On Wed, Jul 14, 2004 at 10:03:43PM +0800, RaghavendraK 70574 wrote: > Hi, > > Am a hardcore C++ guy and don;t know much abt the Perl. But one > of my friend has proved that the fastest way to RAD is Perl. I > need to know if we can convert a Perl script to a dynamic link > library under unix

Thanks Brent and Leo

2004-07-16 Thread Joshua Gatcomb
Cygwin no longer requires --intval and --opcode size changes in the Configure process to work correctly. Additionally, the benchmarks appear to be running a bit faster too. Cheers Joshua Gatcomb a.k.a. Limbic~Region __ Do you Yahoo!? New

Re: Quick thing for the piethon interested

2004-07-16 Thread Leopold Toetsch
Togos <[EMAIL PROTECTED]> wrote: >> This is my first code patch EVAR, so here's to >> hoping I didn't mess it all up. Seems to work, > anyway. Thanks, applied. leo

Re: [perl #30711] [BUG] Cannot open include file pmc_default.h in py_func.c

2004-07-16 Thread Leopold Toetsch
Dennis Rieks <[EMAIL PROTECTED]> wrote: > Hi, > on my win32 tinderbox there is an missing file pmc_default.h while compiling > src/py_func.c, maybe an wrong -I include path? This file is located in > parrot/classes No missing dependency. Sorry. Fixed. leo

Re: Parrot config - a small perl task

2004-07-16 Thread Leopold Toetsch
Brent 'Dax' Royal-Gordon wrote: Leopold Toetsch wrote: On (AFAIK) all systems: opcode_type = intval_type = long. This size has to match the pointer size. And floatval_type = double. Very small, as it turns out: Great, thanks. The patch is smaller then my description ;) leo

Re: Devel::Cover on Windows, ppm anyone ?

2004-07-16 Thread Paul Johnson
On Fri, Jul 16, 2004 at 02:57:56AM -0400, Randy W. Sims wrote: > Gabor Szabo wrote: > >I can see from the testers page that Devel::Cover is supposed > >to work on Windows. > >Is there a ppd distribution of it somewhere so I can install > >it on ActivePerl without a compiler ? > > > >Currently if I

Re: Devel::Cover on Windows, ppm anyone ?

2004-07-16 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On Friday 16 July 2004 12:50, Randy W. Sims wrote: > Tels wrote: > > -BEGIN PGP SIGNED MESSAGE- [snip] > > I really wonder what is going on with their build system, > > It looks like it is somehow failing to detect the failed dependencies. I > don'

Re: Devel::Cover on Windows, ppm anyone ?

2004-07-16 Thread Randy W. Sims
Tels wrote: -BEGIN PGP SIGNED MESSAGE- Moin, On Friday 16 July 2004 08:57, Randy W. Sims wrote: Gabor Szabo wrote: I can see from the testers page that Devel::Cover is supposed to work on Windows. Is there a ppd distribution of it somewhere so I can install it on ActivePerl without a compil

Re: Python builtin namespace

2004-07-16 Thread Tim Bunce
On Fri, Jul 16, 2004 at 12:02:15AM -0400, Dan Sugalski wrote: > At 10:17 PM + 7/15/04, Steve Peters wrote: > >On Friday 16 July 2004 02:46 am, Dan Sugalski wrote: > >> And language builtin namespaces in general. We need a standard, and > >> now's as good a time as any, so... > >> > >> All langu

Re: Devel::Cover on Windows, ppm anyone ?

2004-07-16 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On Friday 16 July 2004 08:57, Randy W. Sims wrote: > Gabor Szabo wrote: > > I can see from the testers page that Devel::Cover is supposed > > to work on Windows. > > Is there a ppd distribution of it somewhere so I can install > > it on ActivePerl without

Re: Parrot config - a small perl task

2004-07-16 Thread Brent 'Dax' Royal-Gordon
Leopold Toetsch wrote: On (AFAIK) all systems: opcode_type = intval_type = long. This size has to match the pointer size. And floatval_type = double. Very small, as it turns out: - my $intval=$Config{ivtype} || 'long'; - my $floatval=$Config{nvtype} || 'double'; - my $opcode=$Config{ivtype}

Re: Quick thing for the piethon interested

2004-07-16 Thread TOGoS
--- TOGoS <[EMAIL PROTECTED]> wrote: > This is my first code patch EVAR, so here's to > hoping I didn't mess it all up. Seems to work, anyway. >:# Sorry. Did the diff wrong. Here it is, the right way. __ Do you Yahoo!? New and Improved Y

Re: Quick thing for the piethon interested

2004-07-16 Thread TOGoS
This is my first code patch EVAR, so here's to hoping I didn't mess it all up. Seems to work, anyway. __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail python.ops-2004.07.16.diff De

[perl #30711] [BUG] Cannot open include file pmc_default.h in py_func.c

2004-07-16 Thread via RT
# New Ticket Created by Dennis Rieks # Please include the string: [perl #30711] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=30711 > Hi, on my win32 tinderbox there is an missing file pmc_default.h while compiling sr

Parrot config - a small perl task

2004-07-16 Thread Leopold Toetsch
Our types configuration is still using perl5's type sizes. This breaks default Configure.pl runs on various architectures, that ship a perl with "long long" intvals. Using perl's was needed a long time ago, when packfiles were generated by perl. It's not needed any more. So the job is to fix t

Re: Devel::Cover on Windows, ppm anyone ?

2004-07-16 Thread Randy W. Sims
Gabor Szabo wrote: I can see from the testers page that Devel::Cover is supposed to work on Windows. Is there a ppd distribution of it somewhere so I can install it on ActivePerl without a compiler ? Currently if I type ppm install Devel::Cover I get version 0.2 of Devel::Coverage. Not what I w