Path: csiph.com!1.us.feeder.erje.net!feeder.erje.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: "minf...@arcor.de" Newsgroups: comp.compilers Subject: Re: Are there "compiler generators"? Date: Tue, 7 Jun 2022 07:22:53 -0700 (PDT) Organization: Compilers Central Lines: 17 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-06-017@comp.compilers> References: <22-06-003@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="28897"; mail-complaints-to="abuse@iecc.com" Keywords: design Posted-Date: 07 Jun 2022 10:53:37 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:3055 Roger L Costello schrieb am Mittwoch, 1. Juni 2022 um 19:24:49 UTC+2: > So a compiler can be generated declaratively by using a set of > declarative generator tools, e.g., Flex for lexical analysis, Bison > for syntax/semantic analysis, and Iburg for code generation. > > Has anyone used this combination of tools to create a whole compiler? This is a hot AI research field. 'Deep compilers' touch topics like least cost parsing and optimization of other compilation steps. But AFAIU there is no such holistic thing like automatic complete compiler construction a la Compiler = f (grammar, software-infrastructure, target-hardware) Some state of the art overview: https://github.com/zwang4/awesome-machine-learning-in-compilers OTOH code generators based on graphical input are already "old hats".