|
|
interpreter
<programming> A program which executes other programs. This
is in contrast to a compiler which does not execute its
input program (the "source code") but translates it into
executable "machine code" (also called "object code")
which is output to a file for later execution. It may be
possible to execute the same source code either directly by an
interpreter or by compiling it and then executing the machine
code produced.
It takes longer to run a program under an interpreter than to
run the compiled code but it can take less time to interpret
it than the total required to compile and run it. This is
especially important when prototyping and testing code when an
edit-interpret-debug cycle can often be much shorter than an
edit-compile-run-debug cycle.
Interpreting code is slower than running the compiled code
because the interpreter must analyse each statement in the
program each time it is executed and then perform the desired
action whereas the compiled code just performs the action.
This run-time analysis is known as "interpretive overhead".
Access to variables is also slower in an interpreter because
the mapping of identifiers to storage locations must be done
repeatedly at run time rather than at compile time.
There are various compromises between the development speed
when using an interpreter and the execution speed when using a
compiler. Some systems (e.g. some Lisps) allow interpreted
and compiled code to call each other and to share variables.
This means that once a routine has been tested and debugged
under the interpreter it can be compiled and thus benefit from
faster execution while other routines are being developed.
Many interpreters do not execute the source code as it stands
but convert it into some more compact internal form. For
example, some BASIC interpreters replace keywords with
single byte tokens which can be used to index into a jump
table. An interpreter might well use the same lexical
analyser and parser as the compiler and then interpret the
resulting abstract syntax tree.
There is thus a spectrum of possibilities between interpreting
and compiling, depending on the amount of analysis performed
before the program is executed. For example Emacs Lisp is
compiled to "byte-code" which is a highly compressed and
optimised representation of the Lisp source but is not machine
code (and therefore not tied to any particular hardware).
This "compiled" code is then executed (interpreted) by a byte
code interpreter (itself written in C). The compiled code
in this case is machine code for a virtual machine which
is implemented not in hardware but in the byte-code
interpreter.
See also partial evaluation.
(1995-01-30)
Try this search on OneLook / Google
Nearby terms:
interpolation « Interpress « interpreted « interpreter » Interpretive Menu Processor » Inter-process Communication » interrupt
This article was derived from the Free Online Dictionary of Computers and is available under ther terms of the GNU Free Documentation License.
Calendar Maker 2Calendar Maker 2 Calendar Maker 2: Personalized calendars for every occasion. Personalize top quality calendars, diaries and timetables with a few clicks of the mouse, easy to print as gifts to family and friends, or even to put on the internet! Windows 98/98/Me/2000/XP More ...
64MB SDRAM PC66 168-Pin DIMM64MB SDRAM PC66 168-Pin DIMM ** 64MB SDRAM PC66 168-Pin DIMM **- 64 MB DIMM Module- 168 Pin PC-66- Major/3rd- - Synchronous- Non ECC- Unbuffered Compatibility/Requirements/Disclosures:* Important note when buying memory: We only supply highquality parts that can be used in PC's reliably over thelong term. We supply only brand name memory on 3rd partymodules. * Country of Origin: Singapore, Canada, Korea, USA, Japan,Italy** Disclosures *** Picture is for representational purposes only More ...
Mini 640x480 USB Keychain Digital Camera (Silver)Mini 640x480 USB Keychain Digital Camera (Silver) ** Mini 640x480 Keychain Digital Camera **This tiny camera is small enough to fit on a keychain, and not only takes pictures at 640x480 resolution it can store up to 100 seconds of video! Share pictures and easily with the USB interface and included software! This comes packaged in a retail box.General Features:- Miniature digital camera- 640x480 (VGA) or 320x240 (CIF) image resolution- 300K CMOS sensor- Silver Color- 8 MB SDRAM memory- Holds approxmately 26 VGA (640x480 resolution) pictures or 99 CIF (320x240 resolution) pictures- USB interface- LCD screen (black and white - displays camera status)- Pop-up viewfinder- Powered by one (1) AAA battery (included)- Integrated keychainCamera Dimensions:- 1.5 x 2.25 x 0.5 inches (H x W x D)Retail Package Includes:- Miniature digital camera- Proprietary USB cable- User Manual- Belt holster- One (1) AAA battery- Software CD-ROM- Arcsoft Photimpression 4.0 (on CD)- Arcsoft Videoimpression 1.6 (on CD)Note:- Package and user manual contain several grammatical errors- Camera does not have a flash- Driver CD may vary Compatibility/Requirements/Disclosures:** Requirements *** Windows 98SE/ME/2000/XP* 125MB or greater HD space* 32MB RAM* USB interface* Color monitor (800x600 or greater resolution)** Disclosures *** Package and user manual contain several grammatical errors* Camera does not have a flash* Driver CD may vary More ...
100MB Internal Zip HP Omnibook 2100/3000/3100100MB Internal Zip HP Omnibook 2100/3000/3100 ** 100MB Internal Zip HP Omnibook 2100/3000/3100 **Need more space or an easy way to get files in and out of your HP Omnibook 2100, 3000 or 3100 notebook computer? Look no further. 100MB of removable storage at an unbeatable price. With Zip disks you can take your data almost anywhere. This product is packaged as an HP Service part, in brown box packaging with no paperwork or manuals. They are not used and carry a 90 day ISell warranty. More ...
Genica GN-062 Mini USB IonizerGenica GN-062 Mini USB Ionizer ** Genica USB Mini Ionizer **Want a healthy environment? Need fresh smelling air? Got bad allergies? If you answered YES to one or more of theses then we have a solution for you. Genica GN-062 USB mini ionizer is perfect for your needs. This handy ionizer eliminates bad odor, reduce positive ions, and reduces air-born dusts and particles. The ultra-compact air ionizer allows you, your family and your guests to enjoy much cleaner, fresher-smelling air.General Features:- Gives out negative ions to reduce dust and particles- Neutralize positive ions produced by computer screens- Helps reduce fatigue and headaches caused by computer screens- Refreshes stale, polluted air- Mountable- USB powered- On/off switchRegulatory Approvals:- FCCRetail Package Includes:- GN-062 USB Ionizer- Suction cup mount- Clip mountsNotes:- Part Number: GN-062- UPC: 8 10884 00062 7 Compatibility/Requirements/Disclosures: ** Requirements *** Available USB port More ...
Rockwell 33.6 Jumperable ISA ModemRockwell 33.6 Jumperable ISA Modem ** Rockwell 33.6 Jumperable ISA Modem **General Features:- ISA jumpered 33.6 modem- Rockwell chipset- New Retail Box More ...
|