Scripted Components
Massimo Felici and Conrad Hughes
mfelici@inf.ed.ac.uk conrad.hughes@ed.ac.uk http://www.inf.ed.ac.uk/teaching/courses/sapm/
Original slides: Dr James A. Bednar
SAPM Spring 2008: Scripted Components 1
Scripted Components Massimo Felici and Conrad Hughes - - PowerPoint PPT Presentation
Scripted Components Massimo Felici and Conrad Hughes mfelici@inf.ed.ac.uk conrad.hughes@ed.ac.uk http://www.inf.ed.ac.uk/teaching/courses/sapm/ Original slides: Dr James A. Bednar SAPM Spring 2008: Scripted Components 1 Spot the connection
mfelici@inf.ed.ac.uk conrad.hughes@ed.ac.uk http://www.inf.ed.ac.uk/teaching/courses/sapm/
SAPM Spring 2008: Scripted Components 1
2
SAPM Spring 2008: Scripted Components 3
SAPM Spring 2008: Scripted Components 4
SAPM Spring 2008: Scripted Components 5
Type of each object not usually stored in executable (C, Java)
Each object stores its type (Python, LISP)
(e.g. 3+“5”=error; C++, Python, ML, Haskell)
(e.g. 3+“5”=“35”, JavaScript; or 3+“5”= 8, PHP , Perl5, Tcl)
SAPM Spring 2008: Scripted Components 6
(checkable at compile time; C++ (except templates), Java)
(Haskell)
(C++ templates (e.g. iterators and pointers), Python, Ruby)
SAPM Spring 2008: Scripted Components 7
SAPM Spring 2008: Scripted Components 8
SAPM Spring 2008: Scripted Components 9
SAPM Spring 2008: Scripted Components 10
SAPM Spring 2008: Scripted Components 11
SAPM Spring 2008: Scripted Components 12
SAPM Spring 2008: Scripted Components 13
SAPM Spring 2008: Scripted Components 14
SAPM Spring 2008: Scripted Components 15
SAPM Spring 2008: Scripted Components 16
SAPM Spring 2008: Scripted Components 17
SAPM Spring 2008: Scripted Components 18
SAPM Spring 2008: Scripted Components 19
20
SAPM Spring 2008: Scripted Components 21
SAPM Spring 2008: Scripted Components 22
SAPM Spring 2008: Scripted Components 23
SAPM Spring 2008: Scripted Components 24
SAPM Spring 2008: Scripted Components 24