home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.ada:3918 comp.compilers:2111
- Newsgroups: comp.lang.ada,comp.compilers
- Path: sparky!uunet!world!iecc!compilers-sender
- From: davidm@questor.rational.com (David Moore)
- Subject: Re: Compiler Construction in Ada
- Reply-To: davidm@questor.rational.com (David Moore)
- Organization: Rational
- Date: Thu, 7 Jan 1993 20:36:59 GMT
- Approved: compilers@iecc.cambridge.ma.us
- Message-ID: <93-01-038@comp.compilers>
- References: <93-01-028@comp.compilers>
- Keywords: courses, Ada
- Sender: compilers-sender@iecc.cambridge.ma.us
- Lines: 26
-
- jipping@cs.hope.edu (Mike Jipping) writes:
- >I'm looking at teaching [compiler] Construction in the Spring semester. ...
- >In the past, we have ... used Pascal to write projects.
-
- >Now the Pascal compiler is gone. And I'm looking for the appropriate
- >language in which to write the compiler for the project.
-
- Ada would be a perfectly fine language to write a compiler in, but I would
- say that the prime requirement is that the students already have whatever
- language you choose when they come into the course. If you are going to
- cover language processing and code generation to a real machine in a
- single semester, they are going to be busy without having to learn a new
- language as well. I remember the old days when the student's arrived in
- Data Structures knowing only Fortran, and we had to teach them Pascal in
- the Data Structures course. They finished the course knowing some Pascal
- and little data structures.
-
- If it is a choice between C and Ada and they have only got Pascal, go with
- Ada - it's much more Pascal-like and a more pleasant language to program
- in. As an Ada text, I would recommend "Programming in Ada", by JGP
- Barnes, Addison Wesley.
-
- Regards, Dave Moore
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-