Re: How hard is it to write a compiler ?

david lindauer <dlindauer@notifier-is.net>
26 Oct 2000 02:48:21 -0400

          From comp.compilers

Related articles
How hard is it to write a compiler ? pradeeptumati@excite.com (Pradeep Tumati) (2000-10-22)
Re: How hard is it to write a compiler ? rbenedik@fsmat.htu.tuwien.ac.at (Ronald Benedik) (2000-10-23)
Re: How hard is it to write a compiler ? chase@naturalbridge.com (David Chase) (2000-10-23)
Re: How hard is it to write a compiler ? lionelp@worldonline.co.za (Lionel Pinkhard) (2000-10-23)
Re: How hard is it to write a compiler ? vbdis@aol.com (2000-10-23)
Re: How hard is it to write a compiler ? dlindauer@notifier-is.net (david lindauer) (2000-10-26)
Re: How hard is it to write a compiler ? jason@pattosoft.com.au (Jason Patterson) (2000-10-26)
| List of all articles for this month |

From: david lindauer <dlindauer@notifier-is.net>
Newsgroups: comp.compilers
Date: 26 Oct 2000 02:48:21 -0400
Organization: IgLou Internet Services, Inc.
References: 00-10-190
Keywords: practice

Lionel Pinkhard wrote:
> However, C/C++ and Java are pretty tough, since it's hard to put
> them into BNF, and all that, but it's just a lot of work, and I still
> think that one or two programmers should be enough.


Yeah, but for a C compiler it takes time. I started with a K&R C
compiler I had found on the net in 1995, and by the end of 1998 I had
an entire tools package based around an ANSI C compiler. Granted I
didn't work full time on it- and also there are other tools involved
besides the C compiler itself, but it does take time. There are a lot
of details involved in getting a compiler to generate good code
consistent with the expectations for the language.


There are by the way complete grammars for various languages on the
net (the moderator hosts some of them on his site).


David


Post a followup to this message

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