Re: Semi-OT: Good compiler book?

2001-08-07 Thread Dan Sugalski
At 06:06 PM 8/7/2001 -0700, Dave Storrs wrote: >The Dragon Book is (AFAIK) still considered the definitive book on the >subject. It's called that because it has (or at least, had, for the >edition that I bought) a red dragon on the cover. > >The official title is: > >Compilers : Principles, Techn

Re: Semi-OT: Good compiler book?

2001-08-07 Thread Mark Koopman
>The official title is: > >Compilers : Principles, Techniques, and Tools >by Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman (Contributor) >ISBN: 0201100886 > >You can get it from Fatbrain: > >http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0201100886&vm= > or cheaper at Bookpool

Re: Semi-OT: Good compiler book?

2001-08-07 Thread Dave Storrs
The Dragon Book is (AFAIK) still considered the definitive book on the subject. It's called that because it has (or at least, had, for the edition that I bought) a red dragon on the cover. The official title is: Compilers : Principles, Techniques, and Tools by Alfred V. Aho, Ravi Sethi, Je

TPC5 Onion slides

2001-08-07 Thread Ask Bjoern Hansen
Hi, I can't find Larry's slides from TPC5 online anywhere. Is it just me or what? :) - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than 100M impressions per day, http://valueclick.com

That could be interesting ... CPAN? and why there is no C/C++ CPAN

2001-08-07 Thread raptor
http://www.kuro5hin.org/story/2001/6/8/11126/34098

RE: properties, revisited

2001-08-07 Thread Damian Conway
> # >my $foo is const = 0 is true; > # > > # > $foo has the property const, while the value 0 in $foo has > # > the property true. > # > # So, if I do > # > # my $foo is constant = new Counter(0); > # $foo->increment # OK > > I think so. Yep. Except the prop

Semi-OT: Good compiler book?

2001-08-07 Thread Brent Dax
I'm going on vacation soon, and I'd like to get a good book on writing compilers--hopefully one that will help me when we actually start coding Perl 6. Any suggestions? I have no formal education on compilers, and I only know C, C++ and Perl (duh). (If this is too off-topic, let me know.) Than

Re: properties, revisited

2001-08-07 Thread Damian Conway
Dan suggested: > The syntax for variable and value properties are going to be different, I > think, I just can't remember what it's going to be. (I think the colon's > involved, but isn't it always?) I think you're now channelling my de specula, not Larry's de jure. :-) In A2, Larry

Re: properties, revisited

2001-08-07 Thread Damian Conway
> More questions regarding the new 'given when' construct. More answers (modulo Larry :-) > 1) Is a 'when' clause required? Is it: > > [ LABEL: ] given ( expr_1 ) { >when expr_2 : block >[ when expr_3 : block ...] >expr_n [;] >

Re: properties, revisited

2001-08-07 Thread Damian Conway
> Damian, > You mentioned in E2 that the chomped property relies on the insep > property of the filehandle (formerly $/). Can I extrapolate that >$. >$, >$\ >$| > will also be properties on filehandles? (How about >$" > for arrays?) It's not

Re: properties, revisited

2001-08-07 Thread Damian Conway
> There are a number of properties "built into" Perl 6. Nearly all of these > properties don't make sense across the board - eg, a scalar won't have a > dimension, a hash won't prompt, etc. > > So given the two different sets that you must consider (variable versus > value, and

Re: new syntax idea: eval "..."o;

2001-08-07 Thread Bart Lateur
On Tue, 7 Aug 2001 09:27:43 -0400, John Porter wrote: >David L. Nicol wrote: >> eval ${code}o; > >Another brilliant idea from David Nicol! Not really. What I would like is an option to just *compile* a piece of perl code, without executing it. This kinda works: $coderef = eval "su

Re: new syntax idea: eval "..."o;

2001-08-07 Thread raptor
> David L. Nicol wrote: > > eval ${code}o; > > Another brilliant idea from David Nicol! > > However, I'm not keen on the syntax. > I'd rather see a different keyword. I'm thinking "eval1", > but I'm not very creative. :-/ ]- what about : qe//;# qe{}; OR qo//

Re: new syntax idea: eval "..."o;

2001-08-07 Thread John Porter
David L. Nicol wrote: > eval ${code}o; Another brilliant idea from David Nicol! However, I'm not keen on the syntax. I'd rather see a different keyword. I'm thinking "eval1", but I'm not very creative. :-/ -- John Porter Science class should not end in tragedy.