Content deleted Content added
m <syntaxhighlight>; <pre> for no lang |
Jerryobject (talk | contribs) Template:Infobox software: add, fills. WP:LINKs: fix WP:NOPIPEs, updates, adds, WP:SELFLINK. Add: Template:URL, Template:Official website. WP:EoS WP:COPYEDITs. WP:BADEMPHASIS quote > WP:ITALIC. Terms < WP:ABBRs. |
||
Line 6:
{{Infobox programming language
|name = Pure
|logo =
|paradigm = [[Functional programming|Functional]], [[Declarative programming|declarative]], [[
|designer = Albert Gräf
|developer = Albert Gräf
|released = {{Start date and age|2008}}
|latest release version = 0.23
|latest release date = {{Start date and age|2017|01|10|df=yes}}
|typing = [[Strong and weak typing|Strong]], [[
|implementations =
|dialects =
|operating system = [[Cross-platform]]: [[FreeBSD]], GNU/[[Linux]], [[macOS]], [[Microsoft Windows|Windows]]
|license = [[GNU Lesser General Public License]]
|
|influenced =
|website =
}}
'''Pure''', successor to the equational language '''Q''', is a dynamically typed, [[Functional programming|functional]] [[programming language]] based on [[term rewriting]]. It has facilities for user-defined [[operator (programming)|operator]] syntax, [[Macro (computer science)|macros]], [[arbitrary-precision arithmetic
Pure comes with an interpreter and debugger, provides automatic memory management,
The Pure language is a successor of the
Pure [[
==Examples==
Line 76 ⟶ 75:
</pre>
<pre>
Line 82 ⟶ 81:
</pre>
Pure has efficient support for vectors and matrices (similar to that
<pre>
Line 138 ⟶ 137:
</pre>
Calling [[C (programming language)|C]] functions from Pure is very easy. E.g., the following imports the <
<syntaxhighlight lang="c">
Line 147 ⟶ 146:
==See also==
{{Portal|Free and open-source software}}
* [[Functional programming]]
* [[:Category: Functional languages|Functional languages]]
Line 161 ⟶ 160:
==External links==
* {{
* [http://puredocs.bitbucket.org/ Pure language and library documentation]
* [http://purelang.bitbucket.org/quickref/pure-quickref.pdf Pure quick reference]
|