Groups | Search | Server Info | Login | Register


Groups > comp.compilers > #3627

Re: lecture notes on compilers, was Paper: Developing a Modular Compiler

From Fernando Magno Quintao Pereira <pronesto@gmail.com>
Newsgroups comp.compilers
Subject Re: lecture notes on compilers, was Paper: Developing a Modular Compiler
Date 2025-01-21 13:33 -0300
Organization Compilers Central
Message-ID <25-01-018@comp.compilers> (permalink)
References <25-01-004@comp.compilers> <25-01-010@comp.compilers> <25-01-012@comp.compilers> <25-01-014@comp.compilers>

Show all headers | View raw


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

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Paper: Developing a Modular Compiler for a Subset of a C-like Language John R Levine <johnl@taugh.com> - 2025-01-09 09:18 -0500
  Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language OrangeFish <OrangeFish@invalid.invalid> - 2025-01-11 09:15 -0500
    Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language OrangeFish <OrangeFish@invalid.invalid> - 2025-01-12 16:15 -0500
  Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language antispam@fricas.org - 2025-01-16 13:46 +0000
    Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language Salvador Mirzo <smirzo@antartida.xyz> - 2025-01-20 08:38 -0300
      Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language OrangeFish <OrangeFish@invalid.invalid> - 2025-01-20 11:17 -0500
        Re: lecture notes on compilers, was Paper: Developing a Modular Compiler Fernando Magno Quintao Pereira <pronesto@gmail.com> - 2025-01-21 13:33 -0300
        Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language George Neuner <gneuner2@comcast.net> - 2025-01-21 19:44 -0500
          Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language OrangeFish <OrangeFish@invalid.invalid> - 2025-01-23 20:49 -0500
            Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language George Neuner <gneuner2@comcast.net> - 2025-01-25 19:07 -0500
        Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-01-23 13:56 -0800
      Re: Books on writing a compiler, was Paper: Developing a Modular Compiler antispam@fricas.org - 2025-01-21 12:01 +0000
        Re: Books on writing a compiler, was Paper: Developing a Modular Compiler antispam@fricas.org - 2025-01-21 18:45 +0000
      Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language George Neuner <gneuner2@comcast.net> - 2025-01-21 19:54 -0500
        Re: Paper: Developing a Modular Compiler for a Subset of a C-like Language Dmitri Volkov <dmitri.s.volkov@gmail.com> - 2025-01-23 15:54 -0500

csiph-web