Re: Semi-OT: Good compiler book?

2001-08-26 Thread Ken Fox

Dan Sugalski <[EMAIL PROTECTED]> wrote:
> At 04:38 PM 8/8/2001 +, Brian J. Kifiak wrote:
> > > Unfortunately all the references I have for alternatives really
> > > require what the Dragon Book teaches as a foundation.
> >
> > What are the references?
> 
> ... Advanced Compiler Design & Implementation

I really like that book too. IMHO he didn't really need to write all
the examples in his very own language though. (Who does he think he is,
Knuth? ;)

The best beginner book on the subject of compilers IMHO is Appel's
Modern Compiler Implementation in ML. It is *much* easier to read
than the dragon book. There are other language versions of it, but
it seems kind of heretical to read Appel without ML.

- Ken



Re: Semi-OT: Good compiler book?

2001-08-26 Thread Dan Sugalski

On Sun, 26 Aug 2001, Ken Fox wrote:

> Dan Sugalski <[EMAIL PROTECTED]> wrote:
> > At 04:38 PM 8/8/2001 +, Brian J. Kifiak wrote:
> > > > Unfortunately all the references I have for alternatives really
> > > > require what the Dragon Book teaches as a foundation.
> > >
> > > What are the references?
> > 
> > ... Advanced Compiler Design & Implementation
> 
> I really like that book too. IMHO he didn't really need to write all
> the examples in his very own language though. (Who does he think he is,
> Knuth? ;)

Heh. Everyone invents their own. I think that's because there are only two
or three real ones in use at that level, and I bet they're all nasty and
terribly embarrasing as instructional material. :)
 
> The best beginner book on the subject of compilers IMHO is Appel's
> Modern Compiler Implementation in ML. It is *much* easier to read
> than the dragon book. There are other language versions of it, but
> it seems kind of heretical to read Appel without ML.

I'll have to go pick that one up. I didn't bother when I saw it, since ML
didn't interest me. I think it's time to remedy that.

Dan




RE: Semi-OT: Good compiler book?

2001-08-09 Thread Garrett Goebel

And also on the introductory level:

Art of Compiler Design, The: Theory and Practice
http://www.amazon.com/exec/obidos/ASIN/0130481904

Constructing Language Processors for Little Languages
http://www.amazon.com/exec/obidos/ASIN/0471597546




Re: Semi-OT: Good compiler book?

2001-08-08 Thread Dan Sugalski

At 04:38 PM 8/8/2001 +, Brian J. Kifiak wrote:
> > Unfortunately all the references I have for
> > alternatives really require what the Dragon Book teaches as a
> > foundation.
>
>What are the references?

Since several people have asked already...

There are two I've been using. I think they're on the book list, but in 
case they're not:

Advanced Compiler Design & Implementation
Steven S. Muchnick
Morgan Kaufmann
ISBN 1-55860-320-4

Building an Optimizing Compiler
Robert Morgan
Digital Press
ISBN 1-8-179-X

I like the first better--it's a more comfortable read. (If you can consider 
any of this stuff comfortable... :)

It probably wouldn't hurt to drag out a book on Linear Algebra while you're 
at it, but I don't have a reference to one of those handy.

Dan

--"it's like this"---
Dan Sugalski  even samurai
[EMAIL PROTECTED] have teddy bears and even
  teddy bears get drunk




Re: Semi-OT: Good compiler book?

2001-08-08 Thread Bart Lateur

On Tue, 7 Aug 2001 16:03:56 -0700, Brent Dax wrote:

>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).

Unless you get a kick out of mathematical proofs, you probably won't get
too much out of the dragon book. It ain't very practical. I would look
out for a book that gives a *practical* introduction to compiler design,
i.e. one that builds a working compiler on the side.

Although I've really only browsed in them, I think I'd rather look into
"Crafting a Compiler" by C. Fisher and R. Leblanc, or "A retargetable C
compiler", by D. Hanson and C. Fraser, which forms the basis for lcc
(one shoot-off is lcc-win32, an excellent, freely available C compiler
with IDE, for Win32).

Both books get good reviews.

-- 
Bart.



Re: Semi-OT: Good compiler book?

2001-08-08 Thread Ashley Pond

or, cheaper still, used:
  http://www.amazon.com/exec/obidos/ASIN/0201100886/

-asdlfjasfey

On Tuesday, August 7, 2001, at 06:11 PM, Mark Koopman wrote:

>
>
>
>> 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
>
> http://www.bookpool.com/.x/6jipibmev1/sm/0201100886
>
> --  -mark koopman
>
> WebSideStory  10182  Telesis Court
> San Diego CA  92121  858-546-1182 ext 318
>
>
> --  -mark koopman
>
> WebSideStory  10182  Telesis Court
> San Diego CA  92121  858-546-1182 ext 318
>
>
>



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, Techniques, and Tools
> by Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman (Contributor)
>ISBN:  0201100886

Be aware that the Dragon Book has a few little quirks, and is definitely an 
intro book. Compiler technology's progressed quite a bit past what's 
presented in there. Unfortunately all the references I have for 
alternatives really require what the Dragon Book teaches as a foundation. 
(It's a bit dodgy going without it)

>On Tue, 7 Aug 2001, Brent Dax wrote:
>
> > 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.)
> >
> > Thanks,
> > --Brent Dax
> > [EMAIL PROTECTED]
> >
> >


Dan

--"it's like this"---
Dan Sugalski  even samurai
[EMAIL PROTECTED] have teddy bears and even
  teddy bears get drunk




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

http://www.bookpool.com/.x/6jipibmev1/sm/0201100886

-- 
  -mark koopman

 WebSideStory  10182  Telesis Court
 San Diego CA  92121  858-546-1182 ext 318


-- 
  -mark koopman

 WebSideStory  10182  Telesis Court
 San Diego CA  92121  858-546-1182 ext 318






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, Jeffrey D. Ullman (Contributor)
ISBN:  0201100886

You can get it from Fatbrain:

http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0201100886&vm=


Dave


On Tue, 7 Aug 2001, Brent Dax wrote:

> 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.)
> 
> Thanks,
> --Brent Dax
> [EMAIL PROTECTED]
> 
> 




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.)

Thanks,
--Brent Dax
[EMAIL PROTECTED]