{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Feb01 - CSE262 Programming Languages Instructor Dr Liang...

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

View Full Document Right Arrow Icon
CSE262: Programming Languages Instructor: Dr. Liang Cheng Department of Computer Science and Engineering P.C. Rossin College of Engineering & Applied Science Lehigh University February 1, 2007
Background image of page 1

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

View Full Document Right Arrow Icon
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/01/07 Outline Recap Binding (Section 5.4 of Chapter 5) Summary and homework
Background image of page 2
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/01/07 Outline Recap Binding (Section 5.4 of Chapter 5) Summary and homework
Background image of page 3

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

View Full Document Right Arrow Icon
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/01/07 Binding A binding is an association, such as between an attribute and an entity, or between an operation and a symbol Binding time is the time at which a binding takes place. Before referencing a variable When does the type/address/… binding take place? Binding Concepts Type binding Storage binding variable: name, address, value, type, lifetime, scope
Background image of page 4
Instructor: Dr. Liang Cheng CSE262: Programming Languages 02/01/07 Binding Time Possible binding times Language design time: bind operator symbols to operations: * multiplication operation Language implementation time: bind int to a range of possible values: in Java, int values from -2147483648 to 2147483647 (2 31 -1) Compiler design time Compile time : bind a variable to a type in C or Java Load time: bind a C static variable to a memory cell Runtime : bind a nonstatic local variable to a memory cell Execution time Binding Concepts Type binding Storage binding variable: name, address, value, type, lifetime, scope
Background image of page 5

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

View Full Document Right Arrow Icon
Instructor: Dr. Liang Cheng
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}