comp.lang.ada
 help / color / mirror / Atom feed
From: eachus@mitre-bedford.arpa  (Robert I. Eachus)
Subject: Re: Compiler Construction in Ada
Date: 15 Jan 93 16:58:26 GMT	[thread overview]
Message-ID: <EACHUS.93Jan15115826@goldfinger.mitre.org> (raw)

     I used to say that there are three parts to a compiler: parsing,
semantic analysis, and code generation and that I never met anyone who
enjoyed (or was expert) in all three areas.  Looking at the comments
on teaching compiler writing, I see exactly the same categories.  Has
anyone ever tried a (one-year, I hope) course where the various parts
were taught by different people?  I'd love to see a profile of how the
grades came out.

     Having said all that, I'll throw my two cents in.  Anyone who
says lex and yacc are wonderful doesn't understand parser theory very
well.  (They are hacks, actually, they are hacks on top of hacks.)  I
was fortunate when I taught compiler construction to have access to
LALR on Multics, which accepted all LALR(k) grammars and some grammars
that were not even in LR(k).  This allowed me to teach parser theory
with toy langauges then hand out a reasonably sized grammar for
students to build a translator on.  (Since I don't do code generation,
I usually assigned a Pascal to C translator or some such.)
--

					Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...

             reply	other threads:[~1993-01-15 16:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-01-15 16:58 Robert I. Eachus [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 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-13 19:53 Eliot Moss
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