Content deleted Content added
Stevenmour (talk | contribs) |
|||
(46 intermediate revisions by 27 users not shown) | |||
Line 1:
{{short description|Style of computer programming}}
In [[computer science]], '''
== Historical movement ==
The first paper usually<ref name="Standish1975">Standish, Thomas A., "[https://pdfs.semanticscholar.org/7f11/082b409647e8d50dadd3a369a10278b5890f.pdf Extensibility in Programming Language Design]", ''SIGPLAN Notices'' 10 no. 7 (July 1975), pp. 18–21.</ref><ref name="Sammet1969">Sammet, Jean E., ''Programming Languages: History and Fundamentals'', Prentice-Hall, 1969, section III.7.2</ref> associated with the extensible programming language movement is
=== Character of the historical movement ===
As typically envisioned, an extensible
The most prominent language-extension technique used in the movement was macro definition.
<blockquote>any programming language in which programs and data are essentially interchangeable can be regarded as an extendible [sic] language.
At the 1969 conference, [[Simula]] was presented as an extensible
Standish described three classes of language extension, which he
* [[Paraphrase]] defines a facility by showing how to exchange it for something
* Orthophrase adds features to a language that could not be achieved using the base language, such as adding an
* Metaphrase modifies the interpretation rules used for pre-existing expressions.
▲* Orthophrase adds features to a language that could not be achieved using the base language, such as adding an i/o system to a base language that previously had no i/o primitives. Extensions must be understood as orthophrase ''relative'' to some given base language, since a feature not defined in terms of the base language must be defined in terms of some other language. Orthophrase corresponds to the modern notion of [[plug-in (computing)|plug-ins]].
▲* Metaphrase modifies the interpretation rules used for pre-existing expressions. It corresponds to the modern notion of [[Reflection (computer science)|reflection]].
=== Death of the historical movement ===
Standish attributed the failure of the extensibility movement to the difficulty of programming successive extensions.
Despite the earlier presentation of Simula as extensible, by 1975, Standish's survey does not seem in practice to have included the newer abstraction-based technologies (though he used a very general definition of extensibility that technically could have included them).
== Modern movement ==
In the modern sense, a system that supports extensible programming will provide ''all'' of the features described below{{Citation needed|reason=Reliable source needed for this definition|date=October 2017}}.
=== Extensible syntax ===
{{category see also|Extensible syntax programming languages}}
This simply means that the source language(s) to be compiled must not be closed, fixed, or static.
=== Extensible compiler ===
Line 61 ⟶ 60:
==Examples==
* [[Camlp4]]
*
* [[Seed7]]
* [[Red (programming language)]]▼
* [[Rebol]]
** [[
* [[
▲* [[OpenC++]]
* OpenC++
* [[XL (programming language)]]▼
* [[
* [[XML]]
* [[Scheme (programming language)]]▼
* [[
* [[Factor (programming language)|Factor]]
** [[Racket (programming language)|Racket]]▼
▲** [[Scheme (programming language)|Scheme]]
* [[Lua (programming language)|Lua]]
* [[PL/I]]
▲* [[Racket (programming language)]]
* [[Smalltalk]]
== See also ==
* [[:Category:Extensible syntax programming languages]]▼
* [[Adaptive grammar]]
* [[Concept programming]]
* [[Dialecting]]
* [[Grammar-oriented programming]]
* [[Language-oriented programming]]
* [[Homoiconicity]]
== References ==
{{
== External links ==
=== General ===
# [https://web.archive.org/web/20050209071400/http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=247&page=1 Greg Wilson's Article in ACM Queue]
# [http://developers.slashdot.org/article.pl?sid=05/01/18/2157249&from=rss Slashdot Discussion]
# [http://www.cas.mcmaster.ca/sqrl/papers/SQRLreport47.pdf Modern Extensible Languages] {{Webarchive|url=https://web.archive.org/web/20110612014339/http://www.cas.mcmaster.ca/sqrl/papers/SQRLreport47.pdf |date=2011-06-12}} – A paper from [[Daniel Zingaro]]
=== Tools ===
# [http://www.meta-language.net/ MetaL]
# [
# [http://www.jetbrains.com/mps/ MPS]
===
# [https://openzz.sourceforge.net/ OpenZz]
# [http://cs.nyu.edu/rgrimm/xtc/ xtc
# [https://github.com/pannous/english-script English-script]
# [
# [https://web.archive.org/web/20050817205802/http://boo.codehaus.org/Syntactic+Macros Boo Syntactic Macros]
# [https://web.archive.org/web/20061022071450/http://suif.stanford.edu/ Stanford University Intermediate Format compiler]
# [
# [https://github.com/chrisseaton/katahdin Katahdin] – a language with syntax and semantics that are mutable at runtime
# [http://www.pi-programming.org/What.html π] – a language with extensible syntax, implemented using an [[Earley parser]]
{{Programming
{{Types of programming languages}}
{{DEFAULTSORT:Extensible Programming}}
[[Category:Programming paradigms]]
|