Cse341 programming cse341 programming languages

Info iconThis preview shows page 1. Sign up to view the full content.

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

Unformatted text preview: cters Course Course Mechanics Mechanics “understand” it: front- end analysis phase ML Variable Bindings ML Variable Bindings Dan Grossman Dan Grossman <tab> i f ( a [ k ] > 0 w h i l e ( k < l e n g t h ) { <nl> Fall 2011 F n 2011 ) <nl> <tab> <tab>{ all P o s + + ; } <nl> <tab> } Winter 2013 UW CSE 401 (Michael Ringenburg) A-31 Compiler CSE341: Programming CSE341: Programming Languages Languages •  Read and analyze en7re program Lecture 1 Lecture 1 •  Translate tourse Mechanicsequivalent program o seman7cally Mechanics Course C in another language L Variable Bindings M ML Variable Bindings –  Presumably easier or more efficient to execute Dan Grossman Dan Grossman Fall 2011 Fall 2011 •  Offline process •  Tradeoff: compile- 7me overhead (preprocessing) vs execu7on performance Winter 2013 UW CSE 401 (Michael Ringenburg) A-32 Typically implemented with Compilers CSE341: Programming CSE341: Programming Languages Languages •  FORTRAN, C, C++, COBOL, other programming Lecture 1 Lecture 1 languages, (La)TeX, SQL (databases), VHDL (a Course Course Mechanics Mechanics hardware...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online