01-intro - CS 502 Compilers Principles and Practice Important facts Name Dr Tony Hosking Email [email protected] Office LWSN 3154L Basis for

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 502: Compilers: Principles and Practice Important facts: Name: Dr. Tony Hosking Email: [email protected] OfFce: LWSN 3154L Basis for grades: 20% midterm 30% Fnal 40% project 10% homeworks Copyright c ± 2007 by Antony L. Hosking. Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for proFt or commercial advantage and that copies bear this notice and full citation on the Frst page. To copy otherwise, to republish, to post on servers, or to redistribute to lists, requires prior speciFc permission and/or fee. Request permission to publish from [email protected] CS502 Introduction 1 Things to do make sure you have a working XINU account review Java development tools Fnd http://www.cs.purdue.edu/ hosking/502 CS502 Introduction 2 Compilers What is a compiler? a program that translates an executable program in one language into an executable program in another language we expect the program produced by the compiler to be better, in some way, than the original What is an interpreter? a program that reads an executable program and produces the results of running that program usually, this involves executing the source program in some fashion This course deals mainly with compilers Many of the same issues arise in interpreters CS502 Introduction 3 Motivation Why study compiler construction? Why build compilers? Why attend class? CS502 Introduction 4
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Interest Compiler construction is a microcosm of computer science artifcial intelligence greedy algorithms, learning algorithms algorithms graph algorithms, union-Fnd, dynamic programming theory D±As for scanning, parser generators, lattice theory systems allocation and naming, locality, synchronization architecture pipeline management, hierarchy management, instruction set use Inside a compiler, all these things come together CS502 Introduction 5 Isn’t it a solved problem? Machines are constantly changing Changes in architecture changes in compilers new features pose new problems changing costs lead to different concerns old solutions need re-engineering Changes in compilers should prompt changes in architecture New languages and features CS502 Introduction 6 Intrinsic Merit Compiler construction is challenging and fun interesting problems primary responsibility for performance ( blame ) new architectures new challenges real
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/23/2012 for the course CS 502 taught by Professor Antony,h during the Spring '08 term at Purdue University-West Lafayette.

Page1 / 7

01-intro - CS 502 Compilers Principles and Practice Important facts Name Dr Tony Hosking Email [email protected] Office LWSN 3154L Basis for

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online