comp.lang.ada
 help / color / mirror / Atom feed
From: agate!spool.mu.edu!yale.edu!think.com!spdcc!iecc!compilers-sender@ucbvax. Berkeley.EDU  (Eliot Moss)
Subject: Re: Compiler Construction in Ada
Date: 13 Jan 93 19:53:23 GMT	[thread overview]
Message-ID: <93-01-090@comp.compilers> (raw)

I have taught a compiler course four times, and much prefer having the
students learn to use an off the shelf parser generator (yacc/bison
style). I do have them write a lexer themselves -- it's actually easier
for many languages, since lex is a bit tricky to use and get comments,
etc., right.

Reacting to previous postings, I don't think deep understanding of the
syntactic aspects is quite the important thing. It is much more important
to gain understanding of type checking, semantic processing in general,
code generation, and the role of optimization, in my opinion. Many people
concentrate on the syntactic stuff because it's clean and theoretical, but
the tools make it by the far the easiest part of compiling, so to me it
does not seem the smart place to spend limited classroom time.

Just one professor's view, but it seems to work.
--
J. Eliot B. Moss, Associate Professor	Visiting Associate Professor
Department of Computer Science		School of Computer Science
Lederle Graduate Research Center	Carnegie Mellon University
University of Massachusetts		5000 Forbes Avenue
Amherst, MA  01003			Pittsburgh, PA  15213-3891
(413) 545-4206, 545-1249 (fax)		(412) 268-6767, 681-5739 (fax)
Moss@cs.umass.edu			Moss@cs.cmu.edu
-- 
Send compilers articles to compilers@iecc.cambridge.ma.us or
{ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.

             reply	other threads:[~1993-01-13 19:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-01-13 19:53 Eliot Moss [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-01-17 22:49 Compiler Construction in Ada enterpoop.mit.edu!world!iecc!compilers-sender
1993-01-15 16:59 agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state
1993-01-15 16:58 Robert I. Eachus
1993-01-15 14:00 agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state
1993-01-15 13:14 Robert Firth
1993-01-15  2:04 agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state
1993-01-12  0:12 agate!spool.mu.edu!uwm.edu!ogicse!das-news.harvard.edu!spdcc!iecc!compile
1993-01-11  3:08 Brent Burton
1993-01-10 17:58 Michael Feldman
1993-01-08 20:41 swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-sta
1993-01-08 14:24 James Crigler
1993-01-07 23:28 enterpoop.mit.edu!usc!wupost!uwm.edu!ogicse!das-news.harvard.edu!spdcc!ie
1993-01-07 12:42 agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox