000_Introduction_to_Compilers

000_Introduction_to_Compilers - Welcome to CS143 Compilers...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Welcome to CS143: Compilers ● One Handout ● Today: – Course Information – Why Study Compilers? – A Quick History of Compilers – The Structure of a Compiler http://cs143.stanford.edu [email protected] Or Email Us Directly: [email protected] [email protected] [email protected] 60% Programming Assignments 20% Written Assignments 20% Midterm Exam Grading Policies A word on the honor code... Why Study Compilers? ● Build a large, ambitious software system . ● See theory come to life . ● Learn how to build programming languages . ● Learn how programming languages work . ● Learn tradeoffs in language design . A Short History of Compilers ● First, there was nothing. ● Then, there was machine code. ● Then, there were assembly languages. – e.g. A-0, A-2 ● Programming expensive; 50% of costs for machines went into programming. Enter John Backus “I’m a terribly unscholarly person, and lazy. That was my motivating force in most of what I did, was how to avoid work”- John Backus, interviewed in 2006 4Ω 3Ω 6Ω 6V 4Ω 3Ω 6Ω 6V 4Ω 3Ω 6Ω 6V 4Ω 3Ω 6Ω 6V 4Ω 3Ω 6Ω 6V 4Ω 3Ω 6Ω 6V 4Ω 3Ω 6Ω 6V 4Ω 3Ω 6Ω 6V 1 1 3 Ω + 1 6 Ω = 2 Ω 4Ω 2Ω 6V 1 1 3 Ω + 1 6 Ω = 2 Ω 4Ω 2Ω 6V 4Ω 2Ω 6V 4 Ω+ 2 Ω= 6 Ω 6Ω 6V 4 Ω+ 2 Ω= 6 Ω 6Ω 6V 6Ω 6V 6 V 6Ω 6V 6 V Total Cost: $4.75 6Ω 1.5V 1.5V 1.5V 1.5V AAA 6Ω 1.5V 1.5V 1.5V 1.5V AAA AAA AAA AAA 6Ω 1.5V 1.5V 1.5V 1.5V AAA AAA AAA Total Cost: $1.00 From Description to Implementation ● Lexical analysis:...
View Full Document

This document was uploaded on 07/18/2011.

Page1 / 51

000_Introduction_to_Compilers - Welcome to CS143 Compilers...

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

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