Dynamic programming language: Difference between revisions

From HandWiki
imported>Pchauhan2001
correction
 
MainAI5 (talk | contribs)
over-write
 
Line 1: Line 1:
{{Short description|Class of programming languages which execute some behaviors at runtime instead of compilation}}
{{Short description|Programming languages with runtime extensibility}}
{{Programming paradigms}}
{{Multiple issues|
{{disputed|date=March 2012}}
{{confusing|date=October 2009}}
}}
A '''dynamic programming language''' is a type of programming language that allows various operations to be determined and executed at runtime. This is different from the compilation phase. Key decisions about variables, method calls, or data types are made when the program is running, unlike in [[Static program analysis|static languages]], where the structure and types are fixed during compilation. Dynamic languages provide flexibility. This allows developers to write more adaptable and concise code.


In [[Computer science|computer science]], a '''dynamic programming language''' is a class of [[High-level programming language|high-level programming language]]s, which at [[Runtime (program lifecycle phase)|runtime]] execute many common programming behaviours that [[Static program analysis|static programming language]]s perform during [[Compiler|compilation]]. These behaviors could include an extension of the program, by adding new [[Source code|code]], by extending [[Object (computer science)|objects]] and definitions, or by modifying the [[Type system|type system]]. Although similar behaviors can be emulated in nearly any language, with varying degrees of difficulty, complexity and performance costs, dynamic languages provide direct tools to make use of them. Many of these features were first implemented as native features in the [[Lisp (programming language)|Lisp]] programming language.
For instance, in a dynamic language, a variable can start as an integer. It can later be reassigned to hold a string without explicit type declarations. This feature of dynamic typing enables more fluid and less restrictive coding. Developers can focus on the logic and functionality rather than the constraints of the language.
 
Most dynamic languages are also dynamically typed, but not all are. Dynamic languages are frequently (but not always) referred to as [[Scripting language|scripting language]]s, although that term in its narrowest sense refers to languages specific to a given run-time environment.


==Implementation==
==Implementation==


===Eval===
===Eval===
Some dynamic languages offer an ''[[Eval|eval]]'' function.  This function takes a string or [[Abstract syntax tree|abstract syntax tree]] containing code in the language and executes it.  If this code stands for an expression, the resulting value is returned. [[Biography:Erik Meijer (computer scientist)|Erik Meijer]] and Peter Drayton distinguish the runtime code generation offered by eval from the [[Dynamic loading|dynamic loading]] offered by shared libraries, and warn that in many cases eval is used merely to implement [[Higher-order function|higher-order function]]s (by passing functions as strings) or deserialization.<ref>{{Citation | citeseerx = 10.1.1.69.5966 | title=Static Typing Where Possible, Dynamic Typing When Needed: The End of the Cold War Between Programming Languages | author=[[Biography:Erik Meijer (computer scientist)|Meijer, Erik]] and Peter Drayton | year=2005 | publisher=[[Company:Microsoft|Microsoft]] Corporation|url=https://people.dsv.su.se/~beatrice/DYPL/meijer_drayton.pdf}}</ref>
Some dynamic languages offer an ''[[Eval|eval]]'' function.  This function takes a string or [[Abstract syntax tree|abstract syntax tree]] containing code in the language and executes it.  If this code stands for an expression, the resulting value is returned. [[Biography:Erik Meijer (computer scientist)|Erik Meijer]] and Peter Drayton distinguish the runtime code generation offered by eval from the [[Dynamic loading|dynamic loading]] offered by shared libraries and warn that in many cases eval is used merely to implement [[Higher-order function|higher-order function]]s (by passing functions as strings) or deserialization.<ref>{{Citation | citeseerx = 10.1.1.69.5966 | title=Static Typing Where Possible, Dynamic Typing When Needed: The End of the Cold War Between Programming Languages | author=[[Biography:Erik Meijer (computer scientist)|Meijer, Erik]] and Peter Drayton | year=2005 | publisher=[[Company:Microsoft|Microsoft]] Corporation|url=https://people.dsv.su.se/~beatrice/DYPL/meijer_drayton.pdf}}</ref>


===Object runtime alteration===
===Object runtime alteration===
Line 27: Line 29:


[[Assembly language|Assembly]], [[C (programming language)|C]], [[C++]], early [[Java (programming language)|Java]], and [[Fortran]] do not generally fit into this category.{{clarify|date=September 2016}}
[[Assembly language|Assembly]], [[C (programming language)|C]], [[C++]], early [[Java (programming language)|Java]], and [[Fortran]] do not generally fit into this category.{{clarify|date=September 2016}}
The earliest dynamic programming language is considered to be Lisp (McCarthy, 1965) which continued to influence the design of programming languages to the present day.<ref>{{cite book| last=Harper| first=Robert | title=Practical Foundations for Programming languages | page=195 | year=2016 |publisher=Cambridge University Press| location=New York| isbn=9-781107-150300}}</ref>


==Example code==
==Example code==
Line 34: Line 38:
The example shows how a function can be modified at runtime from computed source code
The example shows how a function can be modified at runtime from computed source code


<source lang="lisp">
<syntaxhighlight lang="lisp">
; the source code is stored as data in a variable
; the source code is stored as data in a variable
CL-USER > (defparameter *best-guess-formula* '(lambda (x) (* x x 2.5)))
CL-USER > (defparameter *best-guess-formula* '(lambda (x) (* x x 2.5)))
Line 58: Line 62:
CL-USER > (best-guess 10.3)
CL-USER > (best-guess 10.3)
16.28573
16.28573
</source>
</syntaxhighlight>


===Object runtime alteration===
===Object runtime alteration===
This example shows how an existing instance can be changed to include a new slot when its class changes and that an existing method can be replaced with a new version.
This example shows how an existing instance can be changed to include a new slot when its class changes and that an existing method can be replaced with a new version.


<source lang="lisp">
<syntaxhighlight lang="lisp">
; a person class. The person has a name.
; a person class. The person has a name.
CL-USER > (defclass person () ((name :initarg :name)))
CL-USER > (defclass person () ((name :initarg :name)))
Line 99: Line 103:
CL-USER > *person-1*
CL-USER > *person-1*
#<PERSON Eva Luator age: 25>
#<PERSON Eva Luator age: 25>
</source>
</syntaxhighlight>


===Assembling of code at runtime based on the class of instances===
===Assembling of code at runtime based on the class of instances===
In the next example, the class '''person''' gets a new superclass. The '''print''' method gets redefined such that it assembles several methods into the effective method. The effective method gets assembled based on the class of the argument and the at runtime available and applicable methods.
In the next example, the class '''person''' gets a new superclass. The '''print''' method gets redefined such that it assembles several methods into the effective method. The effective method gets assembled based on the class of the argument and the at runtime available and applicable methods.


<source lang="lisp">
<syntaxhighlight lang="lisp">
; the class person
; the class person
CL-USER > (defclass person () ((name :initarg :name)))
CL-USER > (defclass person () ((name :initarg :name)))
Line 155: Line 159:
CL-USER 243 > *person-1*
CL-USER 243 > *person-1*
#<PERSON Eva Luator ID: 42>
#<PERSON Eva Luator ID: 42>
</source>
</syntaxhighlight>


==Examples==
==Examples==
Popular dynamic programming languages include [[JavaScript]], [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[Organization:PHP|PHP]], [[Lua (programming language)|Lua]] and [[Perl]]. The following are generally considered dynamic languages:
Popular dynamic programming languages include [[JavaScript]], [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[PHP]], [[Lua (programming language)|Lua]] and [[Perl]]. The following are generally considered dynamic languages:


* [[ActionScript]]
* [[ActionScript]]
* [[BeanShell]]<ref>[http://static.springsource.org/spring/docs/2.0.x/reference/dynamic-language.html Chapter 24. Dynamic language support]. Static.springsource.org. Retrieved on 2013-07-17.</ref>
* [[Tutorial:BeanShell|BeanShell]]<ref>[http://static.springsource.org/spring/docs/2.0.x/reference/dynamic-language.html Chapter 24. Dynamic language support]. Static.springsource.org. Retrieved on 2013-07-17.</ref>
* [[C Sharp (programming language)|C# (using Reflection)]]
* [[C Sharp (programming language)|C#]] (using reflection)
* [[Clojure]]
* [[Clojure]]
* [[CobolScript]]
* [[CobolScript]]
Line 171: Line 175:
* [[Elixir (programming language)|Elixir]]
* [[Elixir (programming language)|Elixir]]
* [[Erlang (programming language)|Erlang]]
* [[Erlang (programming language)|Erlang]]
* [[Forth (programming language)|FORTH]]
* [[Forth (programming language)|Forth]]
* [[Gambas]]
* [[Gambas]]
* GDScript
* GDScript
* Groovy<ref>< {{cite web |url=http://groovy.codehaus.org/ |title=Groovy - Home |access-date=2014-03-02 |url-status=dead |archive-url=https://web.archive.org/web/20140302111159/http://groovy.codehaus.org/ |archive-date=2014-03-02 }}</ref>
* [[Groovy (programming language)|Groovy]]<ref>< {{cite web |url=http://groovy.codehaus.org/ |title=Groovy - Home |access-date=2014-03-02 |url-status=dead |archive-url=https://web.archive.org/web/20140302111159/http://groovy.codehaus.org/ |archive-date=2014-03-02 }}</ref>
* [[Java (programming language)|Java (using Reflection)]]
* [[Java (programming language)|Java (using Reflection)]]
* [[JavaScript]]
* [[JavaScript]]
Line 181: Line 185:
* [[Software:MATLAB|MATLAB]] / [[Software:GNU Octave|Octave]]
* [[Software:MATLAB|MATLAB]] / [[Software:GNU Octave|Octave]]
* [[Objective-C]]
* [[Objective-C]]
* [[Object REXX|ooRexx]]
* [[Perl]]
* [[Perl]]
* [[Organization:PHP|PHP]]
* [[PHP]]
* [[PowerShell]]
* [[PowerShell]]
* [[Prolog]]
* [[Prolog]]
Line 189: Line 194:
* [[Raku (programming language)|Raku]]
* [[Raku (programming language)|Raku]]
* [[Rebol]]
* [[Rebol]]
* [[Ring (programming language)|Ring]]
* [[Ruby (programming language)|Ruby]]
* [[Ruby (programming language)|Ruby]]
* [[Smalltalk]]
* [[Smalltalk]]
Line 210: Line 216:
''(Many use the term "scripting languages".)''
''(Many use the term "scripting languages".)''
* {{cite journal |last1=Prechelt |first1=Lutz |date=2002-08-18 |df=mdy |title=Are Scripting Languages Any Good? A Validation of Perl, Python, Rexx, and Tcl against C, C++, and Java |journal=Advances in Computers |volume=57 |pages=205–270 |issn=0065-2458 |doi=10.1016/S0065-2458(03)57005-X |isbn=9780120121571 |url=https://page.mi.fu-berlin.de/prechelt/Biblio/jccpprt2_advances2003.pdf |access-date=2020-07-27}}
* {{cite journal |last1=Prechelt |first1=Lutz |date=2002-08-18 |df=mdy |title=Are Scripting Languages Any Good? A Validation of Perl, Python, Rexx, and Tcl against C, C++, and Java |journal=Advances in Computers |volume=57 |pages=205–270 |issn=0065-2458 |doi=10.1016/S0065-2458(03)57005-X |isbn=9780120121571 |url=https://page.mi.fu-berlin.de/prechelt/Biblio/jccpprt2_advances2003.pdf |access-date=2020-07-27}}
* {{cite web |last1=Bezroukov |first1=Nikolai |year=2013 |url=http://www.softpanorama.org/Articles/a_slightly_skeptical_view_on_scripting_languages.shtml |title=A Slightly Skeptical View on Scripting Languages |edition=2.1 |work=Softpanorama |access-date=2020-07-27}}
* {{cite web |last1=Bezroukov |first1=Nikolai |year=2013 |url=https://www.softpanorama.org/Articles/a_slightly_skeptical_view_on_scripting_languages.shtml |title=A Slightly Skeptical View on Scripting Languages |edition=2.1 |work=Softpanorama |access-date=2020-07-27}}
* {{cite speech |last1=Wall |first1=Larry |date=2007-12-06 |df=mdy |url=https://www.perl.com/pub/2007/12/06/soto-11.html/ |title=Programming is Hard, Let's Go Scripting... |event=[[Perl#State of the Onion|State of the Onion]] 11 |work=Perl.com |access-date=2020-07-27}}
* {{cite speech |last1=Wall |first1=Larry |date=2007-12-06 |df=mdy |url=https://www.perl.com/pub/2007/12/06/soto-11.html/ |title=Programming is Hard, Let's Go Scripting... |event=[[Perl#State of the Onion|State of the Onion]] 11 |work=Perl.com |access-date=2020-07-27}}
* {{cite web |last1=Roth |first1=Gregor |date=2007-11-20 |df=mdy |url=https://www.infoworld.com/article/2077792/scripting-on-the-java-platform.html |title=Scripting on the Java platform |work=JavaWorld |access-date=2020-07-27}}
* {{cite web |last1=Roth |first1=Gregor |date=2007-11-20 |df=mdy |url=https://www.infoworld.com/article/2077792/scripting-on-the-java-platform.html |title=Scripting on the Java platform |work=JavaWorld |access-date=2020-07-27}}
* {{cite magazine |last1=Ousterhout |first1=John K. |date=March 1998 |df=mdy |url=http://www.stanfordlibrary.us/~ouster/cgi-bin/papers/scripting.pdf |title=Scripting: Higher-Level Programming for the 21st Century |magazine=Computer |volume=31 |issue=3 |pages=23–30 |issn=0018-9162 |doi=10.1109/2.660187 |access-date=2020-07-27}}
* {{cite magazine |last1=Ousterhout |first1=John K. |date=March 1998 |df=mdy |url=http://www.stanfordlibrary.us/~ouster/cgi-bin/papers/scripting.pdf |title=Scripting: Higher-Level Programming for the 21st Century |magazine=Computer |volume=31 |issue=3 |pages=23–30 |issn=0018-9162 |doi=10.1109/2.660187 |access-date=2020-07-27 |archive-date=2020-07-27 |archive-url=https://web.archive.org/web/20200727185732/http://www.stanfordlibrary.us/~ouster/cgi-bin/papers/scripting.pdf |url-status=dead }}
* {{cite news |date=2004-07-26 |df=mdy |url=https://www.activestate.com/company/press/press-releases/activestate-announces-focus-dynamic-languages/ |title=ActiveState Announces Focus on Dynamic Languages |publisher=ActiveState |access-date=2020-07-27}}
* {{cite news |date=2004-07-26 |df=mdy |url=https://www.activestate.com/company/press/press-releases/activestate-announces-focus-dynamic-languages/ |title=ActiveState Announces Focus on Dynamic Languages |publisher=ActiveState |access-date=2020-07-27}}
** {{cite web |last1=Ascher |first1=David |date=2004-07-27 |df=mdy |url=https://www.activestate.com/Corporate/Publications/ActiveState_Dynamic_Languages.pdf |title=Dynamic Languages — ready for the next challenges, by design |department=Whitepapers |publisher=ActiveState |archive-url=https://web.archive.org/web/20081118035341/https://www.activestate.com/Corporate/Publications/ActiveState_Dynamic_Languages.pdf |archive-date=2008-11-18}}
** {{cite web |last1=Ascher |first1=David |date=2004-07-27 |df=mdy |url=https://www.activestate.com/Corporate/Publications/ActiveState_Dynamic_Languages.pdf |title=Dynamic Languages — ready for the next challenges, by design |department=Whitepapers |publisher=ActiveState |archive-url=https://web.archive.org/web/20081118035341/https://www.activestate.com/Corporate/Publications/ActiveState_Dynamic_Languages.pdf |archive-date=2008-11-18}}
** {{cite web |last1=Ascher |first1=David |date=2004-07-27 |df=mdy |url=http://www.activestate.com/company/newsroom/whitepapers_ADL.plex |title=Dynamic Languages — ready for the next challenges, by design |department=Whitepapers |publisher=ActiveState |archive-url=https://web.archive.org/web/20081208121835/http://www.activestate.com/company/newsroom/whitepapers_ADL.plex |archive-date=2008-12-08}}
** {{cite web |last1=Ascher |first1=David |date=2004-07-27 |df=mdy |url=http://www.activestate.com/company/newsroom/whitepapers_ADL.plex |title=Dynamic Languages — ready for the next challenges, by design |department=Whitepapers |publisher=ActiveState |archive-url=https://web.archive.org/web/20081208121835/http://www.activestate.com/company/newsroom/whitepapers_ADL.plex |archive-date=2008-12-08}}
{{Types of programming languages}}
{{Types of programming languages}}



Latest revision as of 21:07, 14 February 2026

Short description: Programming languages with runtime extensibility

A dynamic programming language is a type of programming language that allows various operations to be determined and executed at runtime. This is different from the compilation phase. Key decisions about variables, method calls, or data types are made when the program is running, unlike in static languages, where the structure and types are fixed during compilation. Dynamic languages provide flexibility. This allows developers to write more adaptable and concise code.

For instance, in a dynamic language, a variable can start as an integer. It can later be reassigned to hold a string without explicit type declarations. This feature of dynamic typing enables more fluid and less restrictive coding. Developers can focus on the logic and functionality rather than the constraints of the language.

Implementation

Eval

Some dynamic languages offer an eval function. This function takes a string or abstract syntax tree containing code in the language and executes it. If this code stands for an expression, the resulting value is returned. Erik Meijer and Peter Drayton distinguish the runtime code generation offered by eval from the dynamic loading offered by shared libraries and warn that in many cases eval is used merely to implement higher-order functions (by passing functions as strings) or deserialization.[1]

Object runtime alteration

A type or object system can typically be modified during runtime in a dynamic language. This can mean generating new objects from a runtime definition or based on mixins of existing types or objects. This can also refer to changing the inheritance or type tree, and thus altering the way that existing types behave (especially with respect to the invocation of methods).

Type inference

As a lot of dynamic languages come with a dynamic type system, runtime inference of types based on values for internal interpretation marks a common task. As value types may change throughout interpretation, it is regularly used upon performing atomic operations.

Variable memory allocation

Static programming languages (possibly indirectly) require developers to define the size of utilized memory before compilation (unless working around with pointer logic). Consistent with object runtime alteration, dynamic languages implicitly need to (re-)allocate memory based on program individual operations.

Reflection

Reflection is common in many dynamic languages, and typically involves analysis of the types and metadata of generic or polymorphic data. It can, however, also include full evaluation and modification of a program's code as data, such as the features that Lisp provides in analyzing S-expressions.

Macros

A limited number of dynamic programming languages provide features which combine code introspection (the ability to examine classes, functions, and keywords to know what they are, what they do and what they know) and eval in a feature called macros. Most programmers today who are aware of the term macro have encountered them in C or C++, where they are a static feature which is built in a small subset of the language, and are capable only of string substitutions on the text of the program. In dynamic languages, however, they provide access to the inner workings of the compiler, and full access to the interpreter, virtual machine, or runtime, allowing the definition of language-like constructs which can optimize code or modify the syntax or grammar of the language.

Assembly, C, C++, early Java, and Fortran do not generally fit into this category.[clarification needed]

The earliest dynamic programming language is considered to be Lisp (McCarthy, 1965) which continued to influence the design of programming languages to the present day.[2]

Example code

The following examples show dynamic features using the language Common Lisp and its Common Lisp Object System (CLOS).

Computation of code at runtime and late binding

The example shows how a function can be modified at runtime from computed source code

; the source code is stored as data in a variable
CL-USER > (defparameter *best-guess-formula* '(lambda (x) (* x x 2.5)))
*BEST-GUESS-FORMULA*

; a function is created from the code and compiled at runtime, the function is available under the name best-guess
CL-USER >  (compile 'best-guess *best-guess-formula*)
#<Function 15 40600152F4>

; the function can be called
CL-USER > (best-guess 10.3)
265.225

; the source code might be improved at runtime
CL-USER > (setf *best-guess-formula* `(lambda (x) ,(list 'sqrt (third *best-guess-formula*))))
(LAMBDA (X) (SQRT (* X X 2.5)))

; a new version of the function is being compiled
CL-USER > (compile 'best-guess *best-guess-formula*)
#<Function 16 406000085C>

; the next call will call the new function, a feature of late binding
CL-USER > (best-guess 10.3)
16.28573

Object runtime alteration

This example shows how an existing instance can be changed to include a new slot when its class changes and that an existing method can be replaced with a new version.

; a person class. The person has a name.
CL-USER > (defclass person () ((name :initarg :name)))
#<STANDARD-CLASS PERSON 4020081FB3>

; a custom printing method for the objects of class person
CL-USER > (defmethod print-object ((p person) stream)
            (print-unreadable-object (p stream :type t)
              (format stream "~a" (slot-value p 'name))))
#<STANDARD-METHOD PRINT-OBJECT NIL (PERSON T) 4020066E5B>

; one example person instance
CL-USER > (setf *person-1* (make-instance 'person :name "Eva Luator"))
#<PERSON Eva Luator>

; the class person gets a second slot. It then has the slots name and age.
CL-USER > (defclass person () ((name :initarg :name) (age :initarg :age :initform :unknown)))
#<STANDARD-CLASS PERSON 4220333E23>

; updating the method to print the object
CL-USER > (defmethod print-object ((p person) stream)
            (print-unreadable-object (p stream :type t)
              (format stream "~a age: ~" (slot-value p 'name) (slot-value p 'age))))
#<STANDARD-METHOD PRINT-OBJECT NIL (PERSON T) 402022ADE3>

; the existing object has now changed, it has an additional slot and a new print method
CL-USER > *person-1*
#<PERSON Eva Luator age: UNKNOWN>

; we can set the new age slot of instance
CL-USER > (setf (slot-value *person-1* 'age) 25)
25

; the object has been updated
CL-USER > *person-1*
#<PERSON Eva Luator age: 25>

Assembling of code at runtime based on the class of instances

In the next example, the class person gets a new superclass. The print method gets redefined such that it assembles several methods into the effective method. The effective method gets assembled based on the class of the argument and the at runtime available and applicable methods.

; the class person
CL-USER > (defclass person () ((name :initarg :name)))
#<STANDARD-CLASS PERSON 4220333E23>

; a person just prints its name
CL-USER > (defmethod print-object ((p person) stream)
            (print-unreadable-object (p stream :type t)
              (format stream "~a" (slot-value p 'name))))
#<STANDARD-METHOD PRINT-OBJECT NIL (PERSON T) 40200605AB>

; a person instance
CL-USER > (defparameter *person-1* (make-instance 'person :name "Eva Luator"))
*PERSON-1*

; displaying a person instance
CL-USER > *person-1*
#<PERSON Eva Luator>

; now redefining the print method to be extensible
; the around method creates the context for the print method and it calls the next method
CL-USER > (defmethod print-object :around ((p person) stream)
            (print-unreadable-object (p stream :type t)
              (call-next-method)))
#<STANDARD-METHOD PRINT-OBJECT (:AROUND) (PERSON T) 4020263743>

; the primary method prints the name
CL-USER > (defmethod print-object ((p person) stream)
            (format stream "~a" (slot-value p 'name)))
#<STANDARD-METHOD PRINT-OBJECT NIL (PERSON T) 40202646BB>

; a new class id-mixin provides an id
CL-USER > (defclass id-mixin () ((id :initarg :id)))
#<STANDARD-CLASS ID-MIXIN 422034A7AB>

; the print method just prints the value of the id slot
CL-USER > (defmethod print-object :after ((object id-mixin) stream)
          (format stream " ID: ~a" (slot-value object 'id)))
#<STANDARD-METHOD PRINT-OBJECT (:AFTER) (ID-MIXIN T) 4020278E33>

; now we redefine the class person to include the mixin id-mixin
CL-USER 241 > (defclass person (id-mixin) ((name :initarg :name)))
#<STANDARD-CLASS PERSON 4220333E23>

; the existing instance *person-1* now has a new slot and we set it to 42
CL-USER 242 > (setf (slot-value *person-1* 'id) 42)
42

; displaying the object again. The print-object function now has an effective method, which calls three methods: an around method, the primary method and the after method.
CL-USER 243 > *person-1*
#<PERSON Eva Luator ID: 42>

Examples

Popular dynamic programming languages include JavaScript, Python, Ruby, PHP, Lua and Perl. The following are generally considered dynamic languages:

See also

References

  1. Meijer, Erik and Peter Drayton (2005), Static Typing Where Possible, Dynamic Typing When Needed: The End of the Cold War Between Programming Languages, Microsoft Corporation, https://people.dsv.su.se/~beatrice/DYPL/meijer_drayton.pdf 
  2. Harper, Robert (2016). Practical Foundations for Programming languages. New York: Cambridge University Press. p. 195. ISBN 9-781107-150300. 
  3. Chapter 24. Dynamic language support. Static.springsource.org. Retrieved on 2013-07-17.
  4. < "Groovy - Home". http://groovy.codehaus.org/. 

Further reading

(Many use the term "scripting languages".)