Compiler Design

pjmlp@students.si.fct.unl.pt (Paulo Jose Pinto - LEI)
6 Jan 1998 22:42:21 -0500

          From comp.compilers

Related articles
Re: compiler design blackmarlin@asean-mail.com (C) (2006-03-06)
Compiler Design pjmlp@students.si.fct.unl.pt (1998-01-06)
| List of all articles for this month |
From: pjmlp@students.si.fct.unl.pt (Paulo Jose Pinto - LEI)
Newsgroups: comp.compilers
Date: 6 Jan 1998 22:42:21 -0500
Organization: Faculdade de Ciencias e Tecnologia, U.N.L., Portugal
Keywords: design, question

    I think that the current trend in compiler design is the following
structure.


                                              Parsing and Lexical analisys
                                                                    |
                                                                    |
                                                                    V
                                                  Abstract Syntax Tree Generation
                                                                    |
                                                                    |
                                                                    V
                                                  Intermediate Code Generation
                                                                    |
                                                                    |
                                                                    V
                                                    Intermediate Code Optimization
                                                                    |
                                                                    |
                                                                    V
                                                        Native Code Generation
                                                                    |
                                                                    |
                                                                    V
                                                        Native Code Optimization




      The translation between AST generation and intermediate code generation
is done in per "procedure" or per statement basis.


        I would like to know if this is correct and if it is the way the
commercial compilers are build.


        Bye.
--
| Paulo Pinto, pjmlp@students.si.fct.unl.pt |
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.