Professional Documents
Culture Documents
PROCESSORS
COMPILATION
Language Processors: Why do we need them?
Programmer Programmer
2
Compute surface area of
a triangle? Concepts and Ideas
Java Program
JVM Interpreter
X86 Processor
0101001001...
Hardware Hardware
Language Processors: What are they?
A programming language processor is any system (software
3
Browser
VBScript Control /
HTML Java Virtual
Interpreter Machine (JVM)
(compiler)
applet
HTML Interpreter
script (display formatting)
script
Communications JavaScript
HTML Control /
facilities HTML Interpreter
page
And also across the web
Web-Client Database
6
Web-Server Server
HTML-Form
(+JavaScript) Submit Call PHP DBMS
Data interpreter LAN
PHP SQL
Web-Browser WWW Script commands
Response Response Database
Reply Output
Compilation
7
Code Generation
Object Code
Different Phases of a Compiler
The different phases can be seen as different
12
Compiler Driver
calls calls
calls
is expressed in the
implementation language
A: All of them!
Programming Language Life Cycle
16 Design
Specification
Prototype
Compiler
Manuals,
Textbooks