Re: How to justify teaching compilers

=?ISO-8859-1?Q?J=FCrgen_Kahrs?= <Juergen.Kahrs@vr-web.de>
4 Oct 2004 00:37:31 -0400

          From comp.compilers

Related articles
How to justify teaching compilers jaidi@fos.ubd.edu.bn (Pg Nor Jaidi Pg Tuah) (2004-10-02)
Re: How to justify teaching compilers mayan@bestweb.net (Mayan Moudgill) (2004-10-02)
Re: How to justify teaching compilers thomas.claveirole@lrde.epita.fr (Thomas Claveirole) (2004-10-02)
Re: How to justify teaching compilers max@gustavus.edu (Max Hailperin) (2004-10-02)
Re: How to justify teaching compilers Juergen.Kahrs@vr-web.de (=?ISO-8859-1?Q?J=FCrgen_Kahrs?=) (2004-10-04)
Re: How to justify teaching compilers tk@ic.unicamp.br (Tomasz Kowaltowski) (2004-10-04)
Re: How to justify teaching compilers genew@mail.ocis.net (Gene Wirchenko) (2004-10-04)
Re: How to justify teaching compilers slimick@venango.upb.pitt.edu (John Slimick) (2004-10-04)
Re: How to justify teaching compilers nmm1@cus.cam.ac.uk (2004-10-09)
Re: How to justify teaching compilers torbenm@diku.dk (2004-10-09)
Re: How to justify teaching compilers monnier@iro.umontreal.ca (Stefan Monnier) (2004-10-09)
[4 later articles]
| List of all articles for this month |

From: =?ISO-8859-1?Q?J=FCrgen_Kahrs?= <Juergen.Kahrs@vr-web.de>
Newsgroups: comp.compilers
Date: 4 Oct 2004 00:37:31 -0400
Organization: Compilers Central
References: 04-10-009
Keywords: courses
Posted-Date: 04 Oct 2004 00:37:31 EDT

Pg Nor Jaidi Pg Tuah wrote:


> If you can compromise and reduce compiler to just a few hours of
> lectures (embedded in, say, "systems programming"), what would you
> cover?


Niklaus Wirth had no problems to introduce his students to compiler
construction with a book of 94 pages:


    http://www.inf.ethz.ch/~wirth/books/Compilerbau0/


The book contains the complete source code of a compiler and an
interpreter. Sample programs like this described in detail:


const m=7, n= 85;
var x,y,z,q,r ;
begin
    x:=m; y:= n; z:=0;
    while y> 0 do
        begin
        if odd y then z:= z + x;
        x:= 2*x; y:= y/ 2;
    end;


You can teach this course in 1 semester. Here are some other links to
PL/0 and PASCAL-S:


    http://www.246.dk/pascals.html
    http://www.246.dk/pl0.html


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.