|Are there "compiler generators"? firstname.lastname@example.org (Roger L Costello) (2022-05-28)|
|Re: Are there "compiler generators"? email@example.com (Robin Vowels) (2022-05-29)|
|Re: Are there "compiler generators"? firstname.lastname@example.org (Jan Ziak) (2022-05-28)|
|Re: Are there "compiler generators"? email@example.com (2022-05-29)|
|Re: Are there "compiler generators"? firstname.lastname@example.org (Thomas Koenig) (2022-05-29)|
|Re: Are there "compiler generators"? email@example.com (Martin Ward) (2022-05-29)|
|Re: Are there "compiler generators"? firstname.lastname@example.org (Fernando) (2022-05-29)|
|[13 later articles]|
|From:||Roger L Costello <email@example.com>|
|Date:||Sat, 28 May 2022 22:27:53 +0000|
|Injection-Info:||gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="91449"; mail-complaints-to="firstname.lastname@example.org"|
|Posted-Date:||28 May 2022 22:16:18 EDT|
There are lexer generators. Flex is a lexer generator.
There are parser generators. Bison is a parser generator.
Are there compiler generators?
Page 52 of the book "Crafting a Compiler with C" says this in the chapter
titled "Scanning--Theory and Practice":
Programming a scanner generator is an example of nonprocedural programming.
That is, unlike ordinary programming, which we call procedural, we do not tell
a scanner generator "how" do scan but simply "what" we want scanned. This is a
higher-level approach and in many ways a more natural one. Much recent
research in computer science is directed toward nonprocedural programming
styles. (Database query languages and Prolog, a "logic" programming language,
are nonprocedural.) Nonprocedural programming is most successful in limited
domains, such as scanning, where the range of implementation decisions that
must be automatically made is limited. Nonetheless, a long-standing (and as
yet unrealized) goal of computer scientists is to generate an entire compiler
from a specification of the properties of the source language and target
That was written in 1991. Is it still true in 2022--there are no compiler
[There are certainly programs that will generate a combined lexer and parser
but there's a lot more to a compiler. -John]
Return to the
Search the comp.compilers archives again.