How long does it take to build a compiler?

Youngwhan Lee <ywlee@sparc0a.cs.uiuc.edu>
Wed, 27 Oct 1993 19:59:56 GMT

          From comp.compilers

Related articles
How long does it take to build a compiler? ywlee@sparc0a.cs.uiuc.edu (Youngwhan Lee) (1993-10-27)
Re: How long does it take to build a compiler? lenngray@netcom.com (1993-10-29)
Re: How long does it take to build a compiler? bj@hatch.socal.com (1993-10-30)
Re: How long does it take to build a compiler? ywlee@sparc0a.cs.uiuc.edu (Youngwhan Lee) (1993-11-01)
Re: How long does it take to build a compiler? ryer@dsd.camb.inmet.com (1993-11-01)
Re: How long does it take to build a compiler? neitzel@ips.cs.tu-bs.de (1993-11-04)
Re: How long does it take to build a compiler? graham@pact.srf.ac.uk (1993-11-05)
[7 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: Youngwhan Lee <ywlee@sparc0a.cs.uiuc.edu>
Keywords: question, comment
Organization: Compilers Central
Date: Wed, 27 Oct 1993 19:59:56 GMT

Greetings,


I run a tiny software company and the company has built an object library
using c++ on DOS. Now, I want to build a compiler on top of it. I'll
enhance an existing, simple and well-defined language in mind to immitate.
(It includes about 70 rules in BNF notation. I think I'll add about
fifteen more rules.)


Although I'm going to hire a programmer who knows compiler-contruction in
the very near future, I need to estimate the time period for the project.
(I know not a thing about compiler-construction.)


So assuming we are using yacc++ on DOS (I hope yacc++ on DOS exist), the
questions are:


      what are the difficulties in compiler-construction in general?
      I assume building a compiler on DOS will create a lot of problems,
          what are the problems created by DOS?
      how difficult is it to add a few compiler-options as many other
          compilers do?
[You need to define your question better. For example, do you want to
create object and executable files, like most C compilers do? Or do you
want to compile into some intermediate code and interpret it, which is
considerably easier. Or you might compile into C or C++ and then compile
that, avoiding a lot of the grotty back end issues. How important is it
that the resulting code be fast or small? Portable? Depending on the
answers to these kinds of questions, the time it takes can be anywhere from
a month to several hundred man-years. -John]
--


Post a followup to this message

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