COP 5621 Compiler Construction http://www.cs.fsu.edu/~xyuan/cop5621 Instructor: Xin Yuan Email: xyuan@cs.fsu.edu Office: 168 Lov Building Phone: (850)644-9133 Office hours: 1:00pm-2:00pm MW, 1:00pm-3:00pm T, or by appointment COP5621 Compiler Construction Florida State University Syllabus • Lexical analysis: regular expression, finite automata, lex • Syntax analysis: grammars, top-down, bottom-up, and LR parsers, yacc • Syntax-directed translation • Semantic analysis: type checking • Run-time environment: Storage allocation strategies, Parameter passing • Intermediate code generation COP5621 Compiler Construction Florida State University Pre-requisites • COP4020 – programming languages or equivalent • Will need to develop a compiler in this class – You will know all techniques in the compiler front-end insideout. – About 5000 lines of code (C/C++). • Need to know C/C++ well. • Need to know either SPARC or x86 assembly: you will generate the executables for one of these architectures. COP5621 Compiler Construction Florida State University Projects, assignment, and exams • One project, four phases (through-out the semester) • One midterm and one final • Random homeworks and quizzes COP5621 Compiler Construction Florida State University Grading • Programming project - 50% (5% + 10% + 15% + 20%) • Midterm • Final • Homework/quiz - 16% - 24% - 10% •Target letter grade distribution: • half A’s, half B’s. COP5621 Compiler Construction Florida State University • Academic Integrity – No copying from anywhere – Don’t ask others for solutions and don’t give solutions to others. – Automated (software) plagiarism detection tools will be used in this course. • Dishonesty – First violation: 0 for the particular assignment/exam and the lowering of one letter (A->B) for course final grade. – Second violation: F for the second violation. – Explanations will be directed to the university Honor Court judges and will not be listened by the Instructor. COP5621 Compiler Construction Florida State University • Accommodation for Disabilities 1.Register with and provide documentation to the Student Disability Resource Center (SDRC). 2.Bring a letter to me from the SDRC `indicating you need academic accomodations. This should be done within the first week of class COP5621 Compiler Construction Florida State University