Re: Damian Conway's Exegesis 2

2001-05-16 Thread Nathan Torkington
Ariel Scolnicov writes: > Am I the only one here who's confused? > > How does the printing happen in the correct order? I mean, if I said > > my $x = "Post order: &show($root, $post)\n"; > print $x; > > then (I hope) we're agreed printing would happen in the *wrong* order > (first the

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Tony Olekshy
Felicitations. Yours, &c, Tony Olekshy

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Larry Wall
Mark Koopman writes: : now we can all be linguists! As they say: It used to be I couldn't spell lingrist, and now I are one. Larry

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Simon Cozens
On Wed, May 16, 2001 at 09:24:33AM -0700, Mark Koopman wrote: > > Will ebonics be included in this locale thingy? > it better, or that's discrimination :| YM "that be discrimination" HTH. -- If computer science was a science, computer "scientists" would study what computer systems do and draw

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Mark Koopman
David Grove wrote: >>--- Dan Sugalski <[EMAIL PROTECTED]> wrote: >> >>>Oh, didn't Larry tell you? We're making perl's parser locale-aware so >>>it uses the local language to determine what the keywords are. >>>I thought that was in the list of things you'd need to take into >>>account when you

RE: Damian Conway's Exegesis 2

2001-05-16 Thread David Grove
> --- Dan Sugalski <[EMAIL PROTECTED]> wrote: > > Oh, didn't Larry tell you? We're making perl's parser locale-aware so > > it uses the local language to determine what the keywords are. > > I thought that was in the list of things you'd need to take into > > account when you wrote the parser...

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Austin Hastings
--- Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 07:40 AM 5/16/2001 -0700, Austin Hastings wrote: > > >--- Dan Sugalski <[EMAIL PROTECTED]> wrote: > > > Oh, didn't Larry tell you? We're making perl's parser > locale-aware so > > > it uses the local language to determine what the keywords are. >

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Dan Sugalski
At 07:40 AM 5/16/2001 -0700, Austin Hastings wrote: >--- Dan Sugalski <[EMAIL PROTECTED]> wrote: > > Oh, didn't Larry tell you? We're making perl's parser locale-aware so > > it uses the local language to determine what the keywords are. > > I thought that was in the list of things you'd need to

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Simon Cozens
On Wed, May 16, 2001 at 07:40:19AM -0700, Austin Hastings wrote: > mios @ventanas son inmutables; It's all part of the secret plan to make Perl *even more* unmaintainable. :) -- CLUELESSNESS: There are No Stupid Questions, But There Are a LOT of Inquisitive Idiots

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Dave Storrs
On Tue, 15 May 2001, Simon Cozens wrote: > On Tue, May 15, 2001 at 03:30:07PM -0700, Dave Storrs wrote: > > - A while ago, someone suggested that the word 'has' be an alias > > for 'is', so that when you roll your own properties, you could write > > more-grammatically-correct statements suc

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Austin Hastings
--- Dan Sugalski <[EMAIL PROTECTED]> wrote: > Oh, didn't Larry tell you? We're making perl's parser locale-aware so > it uses the local language to determine what the keywords are. > I thought that was in the list of things you'd need to take into > account when you wrote the parser... ;-P mi

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Carl Johan Berglund
At 14.07 +0200 01-05-16, Bart Lateur wrote: >This person obviously expects a pipe effect, i.e. capturing of the >"printed" output. > >Should Perl6 provide one? Is print() really easier to grasp, than >'return $buffer', with possibly lots of '$buffer.=$append' in the sub? >Actually, yes, the latter

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Bart Lateur
On Wed, 16 May 2001 13:49:42 +0200, Carl Johan Berglund wrote: >sub show {print "6"} >print "Perl ${show()}\n"; > >(That prints "6Perl", not "Perl 6".) > >If you want to call the subroutine in the middle of the string, you >should make it _return_ something, not print it. This person obviously

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Carl Johan Berglund
At 10.39 +0300 01-05-16, Ariel Scolnicov wrote: >How does the printing happen in the correct order? I mean, if I said > > my $x = "Post order: &show($root, $post)\n"; > print $x; > >then (I hope) we're agreed printing would happen in the *wrong* order >(first the output of show($root, $po

Re: Damian Conway's Exegesis 2

2001-05-16 Thread Ariel Scolnicov
Nathan Torkington <[EMAIL PROTECTED]> writes: > Edward Peschko writes: > > Ok, question here. Are these exegesises 'blessed'? What is open to > > debate on this? > > As Simon says, ask whatever questions you want. > > > print "Post order: "; show($root,$post); print "\n"; > > would be better

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Brent Dax
Damian Conway wrote: > > Simon observed: > >> On Tue, May 15, 2001 at 03:30:07PM -0700, Dave Storrs wrote: >> > - A while ago, someone suggested that the word 'has' be an alias >> > for 'is', so that when you roll your own properties, you could write >> > more-grammatically-corr

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Russ Allbery
Simon Cozens <[EMAIL PROTECTED]> writes: > Personally, I'd rather not deal with a toke.c that knows more of > /usr/dict/words than I do. use thesaurus; -- Russ Allbery ([EMAIL PROTECTED])

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Bryan C . Warnock
On Tuesday 15 May 2001 21:17, Simon Cozens wrote: > On Tue, May 15, 2001 at 09:11:21PM -0400, Bryan C. Warnock wrote: > > What? You didn't test it before you posted it? For shame! ;-) > > Bah. Damian and I are working on ways of prototyping the Perl 6 > interpreter in Perl 5 for testing. We ha

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Damian Conway
Bryan C. Warnock sniped: > >> Okay, this part has me confused. > > > > And rightly so: it was a screw-up. I lost track of whether I was keeping > > the property on the value or on the node reference and ended up doing > > both. > > What? You didn't test it before you po

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Simon Cozens
On Tue, May 15, 2001 at 09:11:21PM -0400, Bryan C. Warnock wrote: > What? You didn't test it before you posted it? For shame! ;-) Bah. Damian and I are working on ways of prototyping the Perl 6 interpreter in Perl 5 for testing. We have the variable semantics sorted out, but properties might

Re: Damian Conway's Exegesis 2

2001-05-15 Thread John Siracusa
On 5/15/01 9:07 PM, Damian Conway wrote: > Interestingly, the code would still have *worked* since the (originally > unset) property on the node reference would have returned C which > would undergo the usual boolean conversion in the C, and the usual > promotion to zero in the numerical context o

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Bryan C . Warnock
On Tuesday 15 May 2001 21:07, Damian Conway wrote: > John Siracusa wrote: >> Okay, this part has me confused. > > And rightly so: it was a screw-up. I lost track of whether I was keeping > the property on the value or on the node reference and ended up doing > both. What? You didn't test it

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Damian Conway
John Siracusa wrote: > Okay, this part has me confused. And rightly so: it was a screw-up. I lost track of whether I was keeping the property on the value or on the node reference and ended up doing both. Interestingly, the code would still have *worked* since the (originally unset) proper

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Mark Koopman
Damian Conway wrote: > Simon observed: > >> On Tue, May 15, 2001 at 03:30:07PM -0700, Dave Storrs wrote: >> >- A while ago, someone suggested that the word 'has' be an alias >> > for 'is', so that when you roll your own properties, you could write >> > more-grammatically-

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Damian Conway
Simon observed: > On Tue, May 15, 2001 at 03:30:07PM -0700, Dave Storrs wrote: > > - A while ago, someone suggested that the word 'has' be an alias > > for 'is', so that when you roll your own properties, you could write > > more-grammatically-correct statements such as "my $var has

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Simon Cozens
On Tue, May 15, 2001 at 04:55:41PM -0700, Edward Peschko wrote: > fine.. except if it was about TMTOWTDI, both could have been included... There's more than one way not to do it, too. :) -- "Why waste negative entropy on comments, when you could use the same entropy to create bugs instead?" --

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Nathan Torkington
Edward Peschko writes: > Exactly. This has not been finalized in an Apocalypse - hence the question > whether or not it has been 'blessed'. > > So - has this decision been made? I've heard Larry saying things that make me think strict and -w will not be on by default. I'll leave it to him to c

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Edward Peschko
On Wed, May 16, 2001 at 12:25:34AM +0100, Simon Cozens wrote: > On Tue, May 15, 2001 at 04:04:52PM -0700, Edward Peschko wrote: > > yes, that there shouldn't need to be - at least in the 'use warnings' > > department. > > Oh, you wanted warnings to be on by default? Oh well. Exactly. This has n

Re: Damian Conway's Exegesis 2

2001-05-15 Thread John Siracusa
Okay, this part has me confused. Here we build up a node hash: my %node; %node{LEFT} = undef; %node{RIGHT} = undef; %node{VALUE} = $val is Found(0); $tree = %node; What has the Found property here? I look at that and I think the value associated with %node hash's VALUE

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Nathan Torkington
Simon Cozens writes: > On Tue, May 15, 2001 at 03:47:36PM -0700, Mark Koopman wrote: > > i think that's the idea...they have similar meanings, so they should do > > similar things. hey it's the English language, i'll leave it up to someone > > else to come up with the 7 other ways to prove owners

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Simon Cozens
On Tue, May 15, 2001 at 04:04:52PM -0700, Edward Peschko wrote: > yes, that there shouldn't need to be - at least in the 'use warnings' > department. Oh, you wanted warnings to be on by default? Oh well. > well, better in the sense that it shows off perl6's style and new features. > And is shor

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Dan Sugalski
At 11:54 PM 5/15/2001 +0100, Simon Cozens wrote: >On Tue, May 15, 2001 at 03:47:36PM -0700, Mark Koopman wrote: > > i think that's the idea...they have similar meanings, so they should do > > similar things. hey it's the English language, i'll leave it up to someone > > else to come up with the 7

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Edward Peschko
> > For example, I see that 'use warnings' and 'use strict' are still at the top > > of the page. > > Yes. Is there some point you want to make about that? yes, that there shouldn't need to be - at least in the 'use warnings' department. > > print "Post order: "; show($root,$post); print "\n"

Re: Damian Conway's Exegesis 2

2001-05-15 Thread John Siracusa
On 5/15/01 6:54 PM, Simon Cozens wrote: > On Tue, May 15, 2001 at 06:49:53PM -0400, John Siracusa wrote: >> Looks nicer to me. > > Did you know that other people might find other things nicer? > TMTOWDTI has not been ruled out for Perl 6. Yeah, yeah, but come on, who out there is running around

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Simon Cozens
On Tue, May 15, 2001 at 03:47:36PM -0700, Mark Koopman wrote: > i think that's the idea...they have similar meanings, so they should do > similar things. hey it's the English language, i'll leave it up to someone > else to come up with the 7 other ways to prove ownership of a property :) Persona

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Simon Cozens
On Tue, May 15, 2001 at 06:49:53PM -0400, John Siracusa wrote: > Looks nicer to me. Did you know that other people might find other things nicer? TMTOWDTI has not been ruled out for Perl 6. -- Imbalance of power corrupts and monopoly of power corrupts absolutely. -- Genji

Re: Damian Conway's Exegesis 2

2001-05-15 Thread John Siracusa
On 5/15/01 5:59 PM, Edward Peschko wrote: > would be better off written as... ...speaking of which: my int ($pre, $in, $post) is constant = (0..2); What, no caps? my int ($PRE, $IN, $POST) is constant = (0..2); Looks nicer to me...or are all-caps vars reserved for internal use in Perl

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Mark Koopman
Simon Cozens wrote: > On Tue, May 15, 2001 at 03:30:07PM -0700, Dave Storrs wrote: > >> - A while ago, someone suggested that the word 'has' be an alias >>for 'is', so that when you roll your own properties, you could write >>more-grammatically-correct statements such as "my $var has >>Colo

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Nathan Torkington
Edward Peschko writes: > Ok, question here. Are these exegesises 'blessed'? What is open to > debate on this? As Simon says, ask whatever questions you want. > print "Post order: "; show($root,$post); print "\n"; > would be better off written as: > print "Post order: &show($root, $post)\n";

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Simon Cozens
On Tue, May 15, 2001 at 03:30:07PM -0700, Dave Storrs wrote: > - A while ago, someone suggested that the word 'has' be an alias > for 'is', so that when you roll your own properties, you could write > more-grammatically-correct statements such as "my $var has > Colors(3)". Since 'are' is be

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Nathan Torkington
Dave Storrs writes: > at first I was alarmed and a bit appalled at a lot of the > changes...e.g., the 'HASH $tree is rw' parameter declaration. > "Jesus," I thought "if I wanted a typed languaged, I'd use C++." > The more I read, however, the more I became convinced that these > were actually eleg

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Dave Storrs
First of all: Damian, thank you for putting this together. This is a really good way to dispell the concerns/doubts/pick-a-word that people (including myself) have been having about whether Perl6 would be the language that we all know and love. There was a great deal of stuff in there and I

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Simon Cozens
On Tue, May 15, 2001 at 02:59:07PM -0700, Edward Peschko wrote: > Ok, question here. Are these exegesises 'blessed'? It is impossible to answer this question without knowing what you mean by the word. Larry has seen and edited the article; is that what you mean? > What is open to debate on this?

Re: Damian Conway's Exegesis 2

2001-05-15 Thread Edward Peschko
On Tue, May 15, 2001 at 03:32:46PM -0600, Nathan Torkington wrote: > Damian's writing a series of articles parallel to Larry's Apocalypses. > These "Exegesis" articles will show full perl6 programs, with > commentary exlaining the new features. > > The first Exegesis (numbered 2, to keep in sync