- Join over 1.2 million students every month
- Accelerate your learning by 29%
- Unlimited access for just £4.99 per month
Compilers and Interpreters
- Essay length: 3673 words
- Submitted: 30/08/2003
-
Marked by teacher:
Ivor Borkin
Teacher essay summary
*****
A great piece of work! With questions and answers too!
Marked by teacher Ivor Borkin 22/04/2012
The first 200 words of this essay...
Compilers and Interpreters
There are two types of translator for converting a high-level language such as Pascal into machine code; compilers and interpreters. These relieve programmers of the tedium and complexity of low-level programming and hence make programming considerably easier and less error prone.
Compiler
This type of translator takes the whole source code and compiles it into object code. The object code (sometimes called machine code) can then be run. Pascal is an example of a programming language that uses compilation.
Interpreter
This type of translator takes the source code and translates the first line of the program, and then executes it. It then does the second line, and the third line, until it gets to the end of the code. BASIC, LISP, Prolog and APL are examples of programming languages that uses interpretation.
Compilers plus Interpreters.
Some programs written in languages such as JAVA are both compiled and interpreted! A program is firstly compiled into an 'intermediate code'. It is then distributed to users who use a wide range of computers such as Mac or PCs. These computers then run their own 'interpreter' to convert the compiled code into
Found what you're looking for?
- Start learning 29% faster today
- Over 150,000 essays available
- Just £4.99 a month
Not the one? We have 100's more
Computer Science (view all)
- Why its important to have protocols and standards on a netwo...
- Barriers to Communication
- Plan an installation and an upgrade - Requirements in prepar...
- Control Unit, Memory Unit, and Arithmetic Logic Unit. The C...
- Open and Closed Loop Control System
MbT essay summary
*****
A great piece of work! With questions and answers too!
