comp.lang.ada
 help / color / mirror / Atom feed
From: world!iecc!compilers-sender@uunet.uu.net  (Brent Burton)
Subject: Re: Compiler Construction in Ada
Date: 11 Jan 93 03:08:45 GMT	[thread overview]
Message-ID: <93-01-058@comp.compilers> (raw)

mfeldman@seas.gwu.edu (Michael Feldman) writes:
|The original poster, Prof. Jipping, prefers the hand-coding approach, on the
|grounds (I suppose) that using tools is great once you have some
|understanding of how they work. Students who have hand-coded parts of
|parsers and lexers really come to appreciate what yex/yacc/aflex/ayacc buy
|you, and that's just the right education for undergraduates (IMHO). 

I couldn't agree more.

Last spring I took the compiler design class here and I found it to be an
excellent class.  We used the Dragon book and a hand-coded approach while
the language to compile was a subset of Pascal.

This format proved to be quite effective and educational.  Through
previous work at IBM, I had experience with lex and yacc already and a
good understanding of the parsing process.  However, the hand-coding
approach was, I feel, mandatory to learn the important underlying
algorithms and to better understand the roles lex and yacc play.  After
the the discussion about LL and LALR parsers, I could finally understand
the shift/reduce and reduce/reduce errors. ;-)

In short, I'd suggest the hand-coding approach.  Learning definitely comes
from doing, and the lex and yacc-based course doesn't provide that extra
depth of knowledge.

-Brent, waiting anxiously for the graduate compiler design this spring
-- 
Brent Burton    N5VMG, bpb9204@tamsun.tamu.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-11  3:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-01-11  3:08 Brent Burton [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-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-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