Explanatory language, compiler language, scripting language

Source: Internet
Author: User
The explanatory language and the compiled language are a set of corresponding concepts that will be compared together, while the scripting language is a simple and not very strict explanatory language.

Definitions of explanatory and compiled languages:

Computers can not directly understand the high-level language, only directly understand the machine language, so the high-level language must be translated into machine language, the computer to perform high-level language programming programs.
There are two ways of translating, one is compiling, the other is explaining. The two ways are only different in the time of translation.

Definition of explanatory language:
A program that interprets a language does not need to be compiled, it is translated when the program is run, and every statement is executed. In this way, the explanatory language needs to be translated one at a time and is less efficient each time it is executed.
Modern interpretive languages usually compile the source program into intermediate code, and then use the interpreter to translate the intermediate code into the target machine code, which is executed.

Definition of a compiled language:
Compiler language written program before being executed, need a special compilation process, the program compiled into machine language files, such as EXE files, later to run without re-translation, directly using the results of the compilation (EXE file), because the translation is done only once, the runtime does not need to translate, Therefore, the program execution efficiency of the compiled language is high.


Definition of scripting language:
scripting language (script language,scripting language,scripting programming Language) is a computer programming language created to shorten the traditional authoring-compile-link-run (edit-compile-link-run) process. Scripting languages generally have a corresponding scripting engine to interpret execution. They usually need an interpreter to run. A script is usually interpreted as running rather than compiled. Scripting languages often have simple, easy-to-learn, easy-to-use features that are intended to allow programmers to quickly write programs. The macro language can be regarded as a branch of the scripting language, and the two have substantially the same similarities.

Explanatory language: Java, JavaScript, Perl, Python, Ruby, MATLAB, and more.
Compiler language: c/C + +, Pascal/object Pascal (Delphi)
Scripting language: Python, Javascript,asp,php,perl, etc.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.