[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
QbasicFAQ_WhatIsAInterpreter
What is an "interpreter"?

Back to QBasic FAQ Main Page.

An interpreter is a program that reads the sourcecode and translates it's output as code that runs as a program. The "translation" is a run time compilation to memory only. It is a full compilation, unlike the line-at-a-time compilation of past interpreters. This is done every time the program is invoked, and can be much slower than a compiled program. (This form of compilation makes QBasic faster than previous languages, but still not as fast as a fully compiled EXE.)

This differs from a compiled program where code is actually ready for execution when the program is invoked. Compilation needs only be done once to create the program. Compiled programs cannot be edited; the sourcecode must be edited, then recompiled.

last edited (December 9, 2002) by KDivad Leahcim, Number of views: 2316, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.