|
Scripting languages (normally known as scripting programing language or even script languages) come computer programming languages initially intentional for "scripting" the operations of a computer. Early script languages were typically known as load languages or even job control languages. The script is other commonly interpreted than compiled, but not always.
Numbers of such languages come quite sophisticated & use at times been utilized to write elaborate computer software, which are then typically however known as scripts potentially though it last swell beyond automating elementary computer tasks. The script language may be encountered at well-nigh each level of the adp system. Besides existence witnessed at a level of the operating models, it pop up within video game, web applications, word processing documents, network software program & thomas more.
Description
Computer languages are created for varying purposes & tasks — different sort & styles of programming. Of these commons programming project is referred to as scripting, or even connecting diverse pre-existing components to accomplish the fresh related project. Victims languages which come then suited to scripting are occasionally known as scripting languages. Numerous languages for this purpose develop most common properties: it favor rapid development across efficiency of execution; it is typically implemented by owning interpreters like than compilers; and it is heavy at communication sustaining program components written within more languages.
Numbers of scripting languages emerged when information for executing a single-off tasks, particularly around system administration. Of these way of seeking at scripts is when "glue" that puts many components together; so it is widely utilized for creating graphical user interfaces or executing a series of commands that will otherwise use at times to become entered interactively across keyboard at a command prompt. the operating models commonly offers a bit of nature and severity of scripting language by default, widely called a shell script language.
Scripts come generally stored just in their manifestly text form (when ASCII) and interpreted, or compiled each time before existence invoked.
Occasionally scripting languages come designed for the specific domain, however typically these are imaginable to write additional general computer program in this language. Inside numerous big-shell projects, the scripting language & the lower level programing language come utilized together, for each one lending its particular strengths to solve specific problems. Scripting languages come typically designed for interactional utilise, with numbers of commands that could execute severally, & typically use at times super high level operations (for example, in the classic UNIX shell (sh), most operations come computer program themselves).
Such high level commands simplify a run of writing code. Programming features like automatic memory management and bounds checking can be taken for granted. Inside the 'lower level' or even non-scripting language, managing memory & variables & creating information structures tends to consume further computer programmer effort & lines of code to complete the given project. Around a few situations this is swell worth it for the consequent fine-grained control. the scripter generally has less flexibility to optimize a program for even speed or to conserve memory.
For the reasons noted above, these come ordinarily sooner to program inside the scripting language, & script files are generally lot little than, say, tantamount C program files. A snotty-nosed side can be a performance penalty: scripting languages, typically interpreted, can be significantly slower to execute & can consume extra memory while running off. Inside numerous relevant legal actions, nevertheless, e.g. by using little scripts of a bit of tens of lines, a write-period benefit far outweighs a dog-instance disadvantage. Likewise, this argument gets stronger sustaining rising computer programmer pay & falling devices costs.
Still, a boundary between scripting languages & regular programing language tends to exist as undefined, & is blurring ever further using a emergence of newly languages & integrations in that convenient-changing region. Within a select few scripting languages, an experient computer programmer could accomplish much of optimisation in case it explore. & in the main, these are conceivable to write the script in any language (including C or assembly language). Within virtually all modern systems, a latter out break is very rarely recommendable, since 1 or even extra suitable script languages is unremarkably available.
Types of scripting languages
Application-specific languages
Numerous big applications programme include an idiomatical scripting language tailored to the needs of the application user. Also, numbers of computer game systems use a custom-made scripting language to express the programmed actions of non-player characters and a gage environment. Languages of this sort come designed for one application &, when it will superficially resemble the specific general-all-purpose language (e.g. QuakeC, sculptured fallowing C) it use customised features which distinguish the children.
ACS
AutoIt [http://www.autoitscript.com/autoit3/]
ActionScript
BlobbieScript [http://www.wocmud.org/Carnage/blobbieScript/]
GameMonkeyScript
IRC script
Lingo
QuakeC
UnrealScript
ZZT-oop
Emacs Lisp
AutoLISP
Text processing languages
A processing of text-depending records is one of a oldest utilizes of scripting languages. Several, like Unix's awk and, late, Perl, were originally intentional to help system administrators in automating tasks that involved Unix text-depending configuration & log files. Perl occurs as favorite out break -- originally designed as the report-generation language, it has grhave into a good-fledged applications language within its own correct. PHP was originally developed as a specialised language for creating dynamic web content, however is currently utilized by a few for general body administration tasks likewise.
Awk
Perl (but watch above)
Python
Ruby
PHP
Sed
XSLT
Request Tracker
Job control languages and shells
Independent article: Shell script
A second class of scripting languages has grown away from a automation of job control -- starting & controlling a behavior of systems program. Several one languages' interpreters double when command-line interfaces, such as a Unix husk or even a MS-DOS COMMAND.COM. Others, like AppleScript, add scripting capability to computing environments lacking the command-line interface.
AppleScript
AREXX (Amiga REXX)
bash
csh
JCL
ksh
MS-DOS batch
REXX
sh
General-purpose dynamic languages
A bit of languages, like Perl, use at times begun when scripting languages however developed into programing language suitable for wide purposes. More similar languages -- ofttimes interpreted, memory-managed, dynamic -- own been described when "scripting languages" for these similarities, possibly whenever it is further unremarkably utilized for applications programming.
ColdFusion
Dylan
Jython
Perl
PHP
Pike
Python
Ruby
Scheme
Sleep
Extension/embeddable languages
The little total of languages own been designed for the purpose of replacing application-specific scripting languages, by existence embeddable within applications programme. A application coder (working within C or even an additional systems language) includes "hooks" in which a scripting language could control a application. These languages help a equivalent purpose when application-specific extension languages, however sustaining a benefit of letting a select few transport of skills from either application to application.
ECMAScript a.k.a. ActionScript, DMDScript, JavaScript, JScript
Guile
ICI
Lua
Sleep
Tcl (Tool command language)
JavaScript began when & primarily however occurs as language for scripting in of web browsers, however, a standardization of the language when ECMAScript has made it popular as a general purpose embeddable language.
Expect is one of the number one extensions of Tcl, & was widely utilized for controlling terminal-caused information such telnet, ssh, and ftp.
Others
BeanShell (scripting for Java)
Brain
CobolScript
Ch (C/C++ interpreter)
HyperTalk
E
Escapade (server side scripting)
Euphoria
F-Script
Groovy
KiXtart
LoadRunner
mIRC script
Miva
Mondrian
MUMPS (M)
NWscript
Object REXX
Pliant
REBOL
ScriptBasic
Scriptol
Shorthand Language
Simkin
StepTalk
UserTalk
VBScript
Visual DialogScript
|