Re: This fortnight's summary

2004-06-23 Thread Scott Bronson
On Wed, 2004-06-23 at 08:12, Dan Sugalski wrote: > The license issues there require that the full source of GMP ship with any > binary copy. (the license has no "provide a place to fetch it" > provision--the source is required) Which would make the Gameboy version > of Parrot somewhat cumbersome. :

Re: definitions of truth

2004-06-24 Thread Scott Bronson
On Thu, 2004-06-24 at 08:04, Jonadab the Unsightly One wrote: > > In Perl5, the following values are FALSE: undef, '0', 0, and ''. > ... The really special case is '0', which > is false for arcane (but very sensible) reasons. I don't agree that '0' being false is sensible. This, plus less than vi

Re: definitions of truth

2004-06-24 Thread Scott Bronson
On Thu, 2004-06-24 at 10:44, Scott Bronson wrote: > I don't agree that '0' being false is sensible... I don't mean to imply that I think it's senseless. Just that, to me, it smells suspiciously like a hack. :) - Scott

Re: definitions of truth

2004-06-24 Thread Scott Bronson
On Thu, 2004-06-24 at 11:34, Smylers wrote: > Scott Bronson writes: > But you're fine with 0 being false? 0 and '0' are pretty much > interchangeable in Perl 5 -- wherever you can use one, you can use the > other and it gets coerced to it. Let's back up... Str

Re: definitions of truth

2004-06-24 Thread Scott Bronson
On Thu, 2004-06-24 at 14:17, Smylers wrote: > Because the above would've been insane: saying that C treats > $x as a string would be pretending that C always treats its > arguments as numbers, but something such as C doesn't > have any numbers in it. Doesn't it? perl -e '$x = "frog"; print(($x

Re: definitions of truth

2004-06-25 Thread Scott Bronson
On Thu, 2004-06-24 at 21:45, Brent 'Dax' Royal-Gordon wrote: > Perhaps not as happy as you think: > > my $foo = '0'; > my String $bar = '0'; > if $foo { say 'foo true' } > if $bar { say 'bar true' } > > Would print 'bar true', but not 'foo true'. Frankly, I love it. Since I plan

GMP's license looks Parrot-compatible

2004-06-29 Thread Scott Bronson
ASSUMPTION Parrot will only link to the GMP library, right? Either static or shared, doesn't matter. IN BRIEF If so, then there's no problem. GMP is licensed under the LGPL, the same license as libc6. Parrot links to libc6 without any problem, right? (Though thankfully it doesn't use much o

Re: GMP's license looks Parrot-compatible

2004-06-30 Thread Scott Bronson
On Wed, 2004-06-30 at 00:14, Ion Alexandru Morega wrote: > ... there are advantages in including > the source code: > - We could trim down all the functionality we don't use (if there is > any) On modern architectures, I don't think that this will actually buy very much. Shared libraries ar

Re: GMP's license looks Parrot-compatible

2004-06-30 Thread Scott Bronson
On Wed, 2004-06-30 at 07:15, Dan Sugalski wrote: > In all those cases you've got a binary-only distribution, and a valid > one. (In fact, one that we want to encourage) Section 4, by my reading, > means you've got to ship source to the LGPL component. Well, "provide source" might be a better way o

Re: Semi-out of touch

2004-06-30 Thread Scott Bronson
On Mon, 2004-06-28 at 06:25, Dan Sugalski wrote: > While I'm off in this "real world" thing, it'd be in our best interests to > go do some work on parrot's standard library. A good place to start is > with the list of functions we'll need for the upcoming pie-thon contest Is this list compiled any

Re: if not C<,> then what?

2004-07-01 Thread Scott Bronson
On Wed, 2004-06-30 at 18:41, Luke Palmer wrote: > Larry didn't go for it. Note, we already have an operator that puts its > left side in void context and evaluates it before its right one: we call > it C<;>. But C<;> requires a surrounding do block, as you noted. I'm disappointed that Larry didn

Re: if not C<,> then what?

2004-07-01 Thread Scott Bronson
On Thu, 2004-07-01 at 12:45, Juerd wrote: > Scott Bronson skribis 2004-07-01 12:42 (-0700): > > But C<;> requires a surrounding do block, as you noted. > > Then invent a horizontal ; operator that does not :) C? That's the topic of discussion... > >pray_to

Re: if not C<,> then what?

2004-07-01 Thread Scott Bronson
On Thu, 2004-07-01 at 13:35, Juerd wrote: > > > pray_to $_ ., then sacrifice <$virgin> for @evil_gods; > > Sure. But what is .,? C could work alone, couldn't it? > > It is a horizontal ;. Ha! I love it. Good source code should look happy.

Async I/O (was Re: Functions for embedders to override)

2004-08-13 Thread Scott Bronson
ves the IO issue before then. My girlfriend is moving to Boston, so that should help a lot. :) - Scott P.S. This is all licensed under the same terms as Parrot: GPL or Artistic 2.0, your choice. // io.h // Scott Bronson // 2 Oct 2003 // This is the generic Async I/O API. It can be implemented