Re: [QUERY] A "ignorant newbie" question about compiler-writing.

kanze@gabi-soft.fr (J. Kanze)
29 Jan 1997 12:03:15 -0500

          From comp.compilers

Related articles
[QUERY] A "ignorant newbie" question about compiler-writing. synaptik@why.net (1997-01-02)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. dennis@netcom.com (1997-01-03)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. jlilley@empathy.com (1997-01-03)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. robison@kai.com (Arch Robison) (1997-01-03)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. mw@ipx2.rz.uni-mannheim.de (1997-01-04)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. kanze@gabi-soft.fr (1997-01-29)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. kanze@gabi-soft.fr (1997-01-29)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. mw@ipx2.rz.uni-mannheim.de (1997-01-30)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. darius@phidani.be (Darius Blasband) (1997-01-30)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. kanze@gabi-soft.fr (J. Kanze) (1997-01-30)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. iainf@bristol.st.com (1997-02-07)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. mff@research.att.com (Mary Fernandez) (1997-02-11)
Re: [QUERY] A "ignorant newbie" question about compiler-writing. dennis@netcom.com (1997-02-16)
[6 later articles]
| List of all articles for this month |

From: kanze@gabi-soft.fr (J. Kanze)
Newsgroups: comp.compilers
Date: 29 Jan 1997 12:03:15 -0500
Organization: GABI Software, Sarl.
References: 97-01-013
Keywords: practice

synaptik@why.net (synaptik) writes:


> I am interesting it "trying my hand" at writing a 'C' compiler. I
> have read this news group a bit, and I understand that compiler
> development tools (such as "lexx" and "yacc") exist for this very
> purpose. I am a "basement hobbyist" who's hobby is programming. It
> is safe to assume that I have not taken any compiler theory courses;
> but I have flipped through a few books on the subject (probably even
> the "dragon" book.)


It is, sort of. At the risk of being heretical here, I would suggest
that compilers are among the simplest software currently being
written. Think of it, no asynchronous events to handle:-).


What makes it hard(er) is that the programmers don't cooperate. If
you accept that the compiler just aborts after the first error, it
will be a lot simpler. Of course, I'd never buy such a compiler:-).


Finally, the languages all seem to have an awkward corner, which
doesn't fit any of the theories. (C has several, but even Pascal
requires some hacks.)


--
James Kanze +33 (0)1 39 55 85 62 email: kanze@gabi-soft.fr
GABI Software, Sarl., 22 rue Jacques-Lemercier, 78000 Versailles, France
--


Post a followup to this message

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