Scripting Language

A scripting language or script language is a programming language that supports the writing of scripts, programs written for a software environment that automate the execution of tasks which could alternatively be executed one-by-one by a human operator. Environments that can be automated through scripting include software applications, web pages within a web browser, the shells of operating systems (OS), and several general purpose and domain-specific languages such as those for embedded systems.

Scripting is usually a property of the primary implementations of a language, rather than a language per se, although many languages are not very suited to this kind of implementation. For example, C++ interpreters do exist, but C++ is generally not considered a scripting language, as not only are these implementations rarely used, but the time taken to write a script in C++ would be far in advance of that required to write in a language like Python.

Typically, a scripting language is characterised by the following properties:

  • Ease of use. Scripting languages are intended to be very fast to pick up and author programs in. This generally implies relatively simple syntax and semantics.
  • OS facilities - especially filesystem and related, built in with easy interfaces. Scripting is usually aimed at desktops, limiting the portability needs of the pre-built libraries.
  • Interpreted from source code - to give the fastest turnaround from script to execution. On a desktop, the performance of even a slow interpreter is often non-problematic. In comparison, non-scripting languages intended for large programs are often precompiled in at least some sense for superior performance.
  • Relatively loose structure. It would be difficult to use Java as a scripting language due to the rules about which classes exist in which files - contrast to Python, where it's possible to simply define some functions in a file.

Scripts can be written and executed "on-the-fly", without explicit compile and link steps; they are typically created or modified by the person executing them. A scripting language is usually interpreted from source code or bytecode. By contrast, the software environment the scripts are written for is typically written in a compiled language and distributed in machine code form; the user may not have access to its source code, let alone be able to modify it.

The spectrum of scripting languages ranges from very small and highly domain-specific languages to general-purpose programming languages. The term script is typically reserved for small programs (up to a few thousand lines of code).

Read more about Scripting Language:  History, Market Analysis

Other articles related to "scripting languages, languages, scripting language, language":

Python Philosophy - Use
... a programming problem involving string manipulation and search in a dictionary, scripting languages such as Python were more productive than conventional languages such as C and Java ... Python is used as a scripting language for web applications, e.g ... Python has been successfully embedded in a number of software products as a scripting language, including in finite element method software such as Abaqus, 3D animation packages such as Blender ...
Scripting Language - Market Analysis
... Perl is the third most widespread scripting language, but in North America it enjoys significantly more popularity ...
List Of JVM Languages - JVM Languages - New Languages With JVM Implementations
... Alef++, a language inspired by Perl and Lisp ... BBj, an object-oriented language for business applications BeanShell, a scripting language whose syntax is close to Java ... upcoming Red Hat's Java competitor ColdFusion, a scripting language compiled to Java, used on the ColdFusion application Server CAL, a Haskell-inspired functional language ...
Wsadmin - Scripting Languages: Jacl and Jython - Changing Default Language
... To use Jython as the scripting language, either of the two following ways ... As the wsadmin invoked again it will take Jacl as a scripting language ... The other way is, to change default language as the Jython instead of Jacl ...
Sass (stylesheet Language)
... Sass (Syntactically Awesome Stylesheets) is a stylesheet language initially designed by Hampton Catlin and developed by Nathan Weizenbaum ... Nathan Weizenbaum and Chris Eppstein have continued to extend Sass with SassScript, a simple scripting language used in Sass files ... It is a scripting language that is interpreted into CSS ...

Famous quotes containing the word language:

    Was there a little time between the invention of language and the coming of true and false?
    Mason Cooley (b. 1927)