Language of script

A language of script is a Computer programming languages which make it possible to handle the functionalities of a computing system configured to provide to the interpreter of this language an environment and an interface which determine the possibilities of that Ci. The language of script can then be freed from the constraints of Bas level - catches of load via the interface - and profit from a syntax from high level.

The language of script is generally carried out starting from files containing the source code of the program which will be interpreted. Historically they were created to shorten the traditional process of development edition compilation - edition of the bonds - execution specific to the compiled languages. The first languages were often called language process control or language of sequence of work (JCL: Job Language Control) because they simply made it possible to automate a succession of simple orders, with the manner of a “script” of theater.

Properties

In the most traditional direction, which is that of the Shell scripts , a script is mainly used for launching and coordinating the execution of programs.
  • In its simplest version, a script specifies only one continuation of programs to be called in a given order (for example text editor, compiler, data link and execution of the object code).

  • One quickly adds to it a possibility of conditional execution simple (||, &&) according to the result of the stage immédatement preceding (it is not used for nothing to carry out if compilation is bad)
  • the possibility of employing variables there, parameters, structures of control (repetition, conditional execution), etc makes languages of scripts of true computer programming languages.

In a different direction, one calls also language of script a language where the visual elements are regarded as characters placed on a " scène" , characters whose behavior is defined by a script . One of the first languages of this type in the world of microprocessing was the language HyperTalk (language directed object derived from Smalltalk) very near to the natural language, that daN Winkler creates in 1987 to order the program HyperCard on Macintosh. The language Lingo of Macromedia Director is downward direct of HyperTalk.

Lastly, data processing not being except for an approximate terminology, " language of script" indicate sometimes, in a very vague direction, any interpreted computer programming language (what is an abuse language: in any rigor the interpreted or compiled character refers to a particular implementation , not to a language), compared to the languages compiled like C, C++, Java, etc One finds then there BASIC, Lisp, JavaScript, etc

List languages of script

The most known languages of script are:

But there exists about it much of different…

Sha-bang

Note: under Unix, the first line indicates the name of the interpreter. This line starts with characters #! that one calls Sha-bang, a contraction of Sharp (the name of the symbol sharp in English) and bang (the name of the point of exclamation in English).

Example:

 
  1. ! /bin/sh

iv () { echo $2$1 } iv good day

will give:
hello

See also: Sha-bang

See too

Related articles

External bonds

  • John K. Ousterhout, Scripting: Higher Level Programming for the 21st Century , IEEE Computer magazine, March 1998

Random links:Transport in Luxembourg | Plumont | Lari (Italy) | International of Strasbourg 2007 | Molypop | Libertés_civiles