Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Fernando Magno Quintao Pereira Newsgroups: comp.compilers Subject: Re: lecture notes on compilers, was Paper: Developing a Modular Compiler Date: Tue, 21 Jan 2025 13:33:23 -0300 Organization: Compilers Central Sender: news%iecc.com Approved: comp.compilers@iecc.com Message-ID: <25-01-018@comp.compilers> References: <25-01-004@comp.compilers> <25-01-010@comp.compilers> <25-01-012@comp.compilers> <25-01-014@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="92044"; mail-complaints-to="abuse@iecc.com" Keywords: courses Posted-Date: 21 Jan 2025 16:17:13 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <25-01-014@comp.compilers> Xref: csiph.com comp.compilers:3627 Hi Salvador, > Would you recommend an equivalent paper or book that addresses these > short-comings but maintains the educational spirit of the paper? (It's > okay if the architecture is not a popular one.) I’ve recently made the lecture notes that I use in the Compiler Construction course available in a book-like format. You can find the PDF here: https://homepages.dcc.ufmg.br/~fernando/classes/dcc053/. The table of contents is also available on that page. These lecture notes primarily focus on constructing a compiler for a purely functional subset of SML/NJ. Most chapters include links to supporting code. However, the full compiler isn’t provided, as I use it as a project assignment. In this project, students develop the compiler in 15 steps, starting with an interpreter for arithmetic expressions and culminating in a RISC-V code generator for a language with anonymous functions (though closure conversion isn’t required in the test cases). Please note that it’s still a work in progress, and feedback is welcome. Kind regards, Fernando