0% found this document useful (0 votes)
509 views3 pages

Interpreter:: Definition: in Computing, An Interpreter Is A Computer Program That

A linker is a program that combines multiple programs into a complete set of instructions that can be loaded into memory and executed. It builds an executable program by linking together compiled machine code modules.

Uploaded by

Maheen Ali
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
509 views3 pages

Interpreter:: Definition: in Computing, An Interpreter Is A Computer Program That

A linker is a program that combines multiple programs into a complete set of instructions that can be loaded into memory and executed. It builds an executable program by linking together compiled machine code modules.

Uploaded by

Maheen Ali
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Interpreter:

Definition: In computing, an interpreter is a computer program that reads the source code of another computer program and executes that program. Because it is interpreted line by line, it is a much slower way of running a program than one that has been compiled but is easier for learners because the program can be stopped, modified and rerun without time-consuming compiles.

Example:
In computer science, an interpreter is a computer program that executes, i.e. performs, instructions written in a programming language. An interpreter generally uses one of the following strategies for program execution: 1. execute the source code directly 2. translate source code into some efficient intermediate representation and immediately execute this 3. explicitly execute stored precompiled code[1] made by a compiler which is part of the interpreter system

Diagram:

Compilar:
A compiler is a computer program (or set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language, often having a binary form known as object code). The most common reason for wanting to transform source code is to create an executable program.

Example:
The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language or machine code). If the compiled program can run on a computer whose CPU or operating system is different from the one on which the compiler runs, the compiler is known as a cross-compiler. A program that translates from a low level language to a higher level one is a decompiler. A program that translates between high-level languages is usually called a language translator, source to source translator, or language converter. A language rewriter is usually a program that translates the form of expressions without a change of language.

Diagram:

Linker:
In simple terms, a linker is a program which combines a number of programs to form a complete set of instructions which can be loaded into the computer's memory and followed by the computer. It is a module that builds an executable, complete program from component machine code modules.

Example:
The Java linker creates a runnable program from compiled classes.

Diagram:

You might also like