Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.compilers Subject: Re: Are there "compiler generators"? Date: Wed, 01 Jun 2022 18:05:13 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 20 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-06-004@comp.compilers> References: <22-06-003@comp.compilers> Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="96388"; mail-complaints-to="abuse@iecc.com" Keywords: design Posted-Date: 02 Jun 2022 18:01:58 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:3042 Roger L Costello writes: >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? The students taking my compiler course build such compilers: one compiler per student, implementing a different small programming language every year. They also use Ox (an attribute grammar evaluator generator) for getting more structure into the in-between part. Instead of iburg, they can also use burg, which has the same interface. - anton -- M. Anton Ertl anton@mips.complang.tuwien.ac.at http://www.complang.tuwien.ac.at/anton/