Email: bvelez@acm.org
University of Puerto Rico - Mayagüez Campus
Department of Electrical and Computer Engineering

Home
Courses
Publications
Projects
My Favorite Links
My Favorite Search Engines

ICOM 4029 - Compiler Construction (Fall 2004)

Techniques involved in the analysis of source languages and the generation of efficient object codes with emphasis on the components of a compiler.

bullet

Prontuario del Curso (PDF)

bullet

Bosquejo del Curso (PDF)

bulletLecture 1: Course Overview, PL History, PL Design (PPT, PDF)
bulletLecture 2: Overview of the COOL Language (PPT, PDF)
bulletLecture 3: Lexical Analysis (PPT, PDF)
bulletLecture 4: Introduction to Syntactic Analysis (PPT, PDF)
bulletLecture 5: Top-Down Parsing (PPT, PDF)
bulletLecture 6: Bottom-up Parsing (PPT, PDF)
bulletLecture 7: Static Semantic Analysis (PPT,PDF)
bulletLecture 8: Runtime Environments (PPT, PDF)
bulletLecture 9: Code Generation I (PPT, PDF)
bulletLecture 10: Operational Semantics of COOL (PPT, PDF)

 

Acknowledgement

The lectures on this course are based on (very) slight variations of the slides used by Prof. George Necula for the CS 164 course offered at the University of California Berkeley.  Professor Necula kindly granted us permission to use his materials.  Thanks!

bullet

Examen Parcial 1: TBA (Temas, Práctica, Solución, Estadísticas)

bullet

Examen Parcial 2: 3 de diciembre de 2004 S-203  (Temas, Practica, Solución, Estadísticas)

bulletExamen Final:       16 de Diciembre de 2004 12 Noon S-203 (Temas, Práctica, Solución, Estadísticas)
bulletClass Examples (MIPS Source Files)
bulletProgramming Assignment 1. A COOL Stack Machine. Due September 16 11:59 PM. (PDF)
bulletProgramming Assignment 2. COOL Lexer. Due September 29 11:59 PM. (PDF)
bulletProgramming Assignment 3. COOL Parser. Due October 11 11:59 PM. (PDF)
bulletProgramming Assignment 4. COOL Semantic Analyzer. (DOC, PDF)
bulletPart A Due October 25 11:59 PM
bulletPart B Due November 8 11:59 PM
bulletProgramming Assignment 5. COOL Code Generator. (DOC, PDF)
bulletPart A Due November 22 11:59 PM
bulletPart B Due December 6 11:59 PM
bulletSchedule for ALL programming assignments (PDF)
 
bulletLaboratory 1. Writing and running Cool code (PDF)
bulletLaboratory 2. Lexical Analysis (PDF)
bulletLaboratory 3. Finite Automata Continued and PS2 (PDF)
bulletLaboratory 4. PAs 1 & 2 (PDF)
bulletLaboratory 5. Syntactic Analysis (PDF)
bulletLaboratory 6. Syntactic Analysis Continued (PDF)
bulletLaboratory 7. Semantic Analysis (PDF)
bulletLaboratory 8. Semantic Analysis Continued (PDF)
bulleticom4029-profs (profesor(es))
bulleticom4029-students (todos los estudiantes)(subscribe)
bulleticom4029-forum (staff y estudiantes)
bulletLinux Distribution of the Cool Support Code (cool-linux.tar.gz)
bulletEmacs for Windows (download)
bullet.emacs File (download)
bulletSPIM Simulator (home site, windows version)
bulletUC Berkeley  SPIM including SPIM for Mac OS (home site, macOS X)
bulletX Server for Windows (download)
bulletCool Manual (PDF)
bulletToor of the Cool Support Code (PDF)
bulletEasy I Quick Reference Sheet (PDF)
bullet"The Nature of Computing". Bienvenido Velez. COMPEL 2002 Plenary Talk. (PDF)
bullet"An Overview of Information Theory" Bell Labs. (PDF)
bullet"Assemblers, Linkers and the SPIM Simulator". This is Appendix A of Hennessy & Patterson, Computer Organization and Design: The Hardware/Software Interface. Coutersy of Morgan Kaufmann Publishers.
bullet

RFC 1855: Netiquette Guidelines. ABSTRACT: This document provides a minimum set of guidelines for Network Etiquette (Netiquette) which organizations may take and adapt for their own use. As such, it is deliberately written in a bulleted format to make adaptation easier and to make any particular item easy (or easier) to find. It also functions as a minimum set of guidelines for individuals, both users and administrators. This memo is the product of the Responsible Use of the Network (RUN) Working Group of the IETF.

bullet

SPIM/MIPS Instruction Set Sheet (PlainText)

bullet

Web site del curso CS 164 de University of California Berkeley by George Necula (Spring 2004)

bullet

Web site del libro de Patterson y Hennessy "Computer Organization: The Hardware Software Interface".

bullet

Evaluacion del curso por los estudiantes durante el examen parcial I (PDF)

Si descubres algún enlace útil para la clase  avísame para colocarlo aquí.