Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #586 > unrolled thread

Re: Good practical language and OS agnostic text?

Started bycompiler.ddj@h-rd.org
First post2012-04-19 20:07 +0200
Last post2012-04-20 16:06 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.compilers


Contents

  Re: Good practical language and OS agnostic text? compiler.ddj@h-rd.org - 2012-04-19 20:07 +0200
    Re: Good practical language and OS agnostic text? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-04-20 07:33 +0000
    Re: Good practical language and OS agnostic text? compilers@is-not-my.name - 2012-04-20 16:06 +0000

#586 — Re: Good practical language and OS agnostic text?

Fromcompiler.ddj@h-rd.org
Date2012-04-19 20:07 +0200
SubjectRe: Good practical language and OS agnostic text?
Message-ID<12-04-043@comp.compilers>
Hi,

my favorites list:

Best read, easy to understand and follow:
Compiler Construction - N. Wirth [PDF (597 KB)]
http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf


somwhat old, but good to read: Gries "Compiler Construction for
digital computers"

And probably the most refreshing one:  the Lisp 1.5 manual , it has is
an interpreter and compiler in the appendix. (
http://www.softwarepreservation.org/projects/LISP/book/LISP%201.5%20Programmers%20Manual.pdf/view
).

[Appendix B of the Lisp 1.5 manual (which I happen to have in
convenient 1969 paper form) does have a pseudocode interpreter, but
Appendix D about the compiler just describes how to use it, no
listings.  And he wouldn't like the Lisp compiler anyway, since then
he'd have to learn LAP. Gries is a good thought, quite concrete and the
target machine is a thinly disguised S/360. -John]

[toc] | [next] | [standalone]


#590

Fromglen herrmannsfeldt <gah@ugcs.caltech.edu>
Date2012-04-20 07:33 +0000
Message-ID<12-04-047@comp.compilers>
In reply to#586
compiler.ddj@h-rd.org wrote:

(snip)
> somwhat old, but good to read: Gries "Compiler Construction for
> digital computers"

I believe it is, more or less, older than C so shouldn't have C
dependencies. Also, the camera ready copy was printed on a 1403
printer, which should look familiar to OS/360 users.

(snip)

> [Gries is a good thought, quite concrete and the
> target machine is a thinly disguised S/360. -John]

Many years ago (about 33), just after my undergrad compiler course,I
had the idea of writing a PL/I compiler for VAX using the Gries book.
As usual, it would have been written in the language it compiled, so
it could compile itself. But I got distracted with other things over
the years.

-- glen

[toc] | [prev] | [next] | [standalone]


#594

Fromcompilers@is-not-my.name
Date2012-04-20 16:06 +0000
Message-ID<12-04-051@comp.compilers>
In reply to#586
compiler.ddj@nospam.h-rd.org wrote:

> Best read, easy to understand and follow:
> Compiler Construction - N. Wirth [PDF (597 KB)]
> http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf

You guys! Easy to understand and follow, and Wirth in the same sentence?! I
guess it's all relative. I find Wirth terse bordering on cryptic. I thought
it was part of his charm. Still I haven't look at anything he's written for
at least 20 years or so. I should go over it again.

> somwhat old, but good to read: Gries "Compiler Construction for
> digital computers"

That might be a good one especially if it's the same Gries who wrote
PL/C. I have the PL/I and PL/C book by him and Conway but I can't put
my hands on it right now. Thank you for mentioning it.

> And probably the most refreshing one:  the Lisp 1.5 manual , it has is
> an interpreter and compiler in the appendix. (
> http://www.softwarepreservation.org/projects/LISP/book/LISP%201.5%20Programmers%20Manual.pdf/view
> ).
>
> [Appendix B of the Lisp 1.5 manual (which I happen to have in
> convenient 1969 paper form) does have a pseudocode interpreter, but
> Appendix D about the compiler just describes how to use it, no
> listings.  And he wouldn't like the Lisp compiler anyway, since then
> he'd have to learn LAP. Gries is a good thought, quite concrete and the
> target machine is a thinly disguised S/360. -John]

Thanks John. It looks like that may indeed be a good choice.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.compilers


csiph-web