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

    From Fernando Magno Quintao Pereira@pronesto@gmail.com to comp.compilers on Tue Jan 21 13:33:23 2025
    From Newsgroup: comp.compilers

    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.)

    IrCOve 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 isnrCOt 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 isnrCOt required in the test cases).

    Please note that itrCOs still a work in progress, and feedback is welcome.

    Kind regards,

    Fernando
    --- Synchronet 3.21b-Linux NewsLink 1.2