comp.lang.ada
 help / color / mirror / Atom feed
From: "Frank J. Lhota" <NOSPAM.FrankLho@rcn.com>
Subject: Re: Why would it take so long to write an Ada compiler?
Date: Mon, 16 Dec 2002 07:46:25 -0500
Date: 2002-12-16T12:45:43+00:00	[thread overview]
Message-ID: <atkhtn$jkj$1@bob.news.rcn.net> (raw)
In-Reply-To: 8db3d6c8.0212151923.12bf6052@posting.google.com

"steve_H" <nma124@hotmail.com> wrote in message
news:8db3d6c8.0212151923.12bf6052@posting.google.com...
> Mike <spamnotme@invalid.com> wrote in message
news:<MPG.1865cca835f2ccee98991a@News.CIS.DFN.DE>...
> compilers are hard. code generation and optimization is the hardest
> part I would think. lex and yacc can do most of the front work. GNAT
> does not use lex and yacc.

A lot, possibly most, commercial compilers do not use lex and yacc. The
problem with yacc is the "bottom up" approach it takes to program parsing.
"Top Down" parsing makes it easier to generate good error messages.





  reply	other threads:[~2002-12-16 12:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-14 22:47 Why would it take so long to write an Ada compiler? Mike
2002-12-15 22:17 ` AG
2002-12-16 14:50   ` Adrian Hoe
2002-12-16  3:23 ` steve_H
2002-12-16 12:46   ` Frank J. Lhota [this message]
2002-12-21 18:54 ` faust
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox