Language used to write compilers

"Joe H." <joe_hesse@actcx.com>
29 Dec 2004 01:45:09 -0500

          From comp.compilers

Related articles
Language used to write compilers joe_hesse@actcx.com (Joe H.) (2004-12-29)
Re: Language used to write compilers dido@imperium.ph (Rafael 'Dido' Sevilla) (2004-12-30)
Re: Language used to write compilers nmm1@cus.cam.ac.uk (2004-12-30)
Re: Language used to write compilers s.bosscher@student.tudelft.nl (stevenb) (2004-12-30)
Re: Language used to write compilers vbdis@aol.com (2004-12-30)
Re: Language used to write compilers dido@imperium.ph (Rafael 'Dido' Sevilla) (2004-12-30)
Re: Language used to write compilers nick.roberts@acm.org (Nick Roberts) (2004-12-30)
[13 later articles]
| List of all articles for this month |

From: "Joe H." <joe_hesse@actcx.com>
Newsgroups: comp.compilers
Date: 29 Dec 2004 01:45:09 -0500
Organization: VISI.com - http://www.visi.com/
Keywords: practice, question, comment
Posted-Date: 29 Dec 2004 01:45:08 EST

Hi,


I am thinking of taking a university course in compiler design. The
instructor has chosen a book that teaches compiler implementation in
Java. I always thought that compilers were usually written in C/C++.


Question - what languages are used to write compilers? My world is
Unix/Linux - should I wait until a course is offered using C/C++?


Many thanks,
Joe
[No. Compiler design is about algorithms and data structures, which
are the same no matter what language you're using. And anyway, for
most purposes Java is just C++ with some of the cruft stripped out and
garbage collection added. The GC makes it a lot easier to whip up
little sample programs. -John]


Post a followup to this message

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