To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.

Wolfram Language

From Wikipedia, the free encyclopedia

The Wolfram Language is a general multi-paradigm programming language[8] developed by Wolfram Research. It emphasizes symbolic computation, functional programming, and rule-based programming[9] and can employ arbitrary structures and data.[9] It is the programming language of the mathematical symbolic computation program Mathematica.[10]


The Wolfram Language was a part of the initial version of Mathematica in 1988.[11] Judging by MockMMA's 1991 examples, the M-expression syntax has been there ever since, as are the symbolic, functional, and pattern-matching-by-rewriting facilities.[12] Overall, these make Wolfram a Turing complete language, with support for meta-algorithms and superfunctions.

Symbolic aspects of the engine make it a computer algebra system. The language can perform integration, differentiation, matrix manipulations, and solve differential equations using a set of rules. Also there in 1988 was the notebook model and the ability to embed sound and images, according to Theodore Gray's patent.[13]

An online frontend for the language, WolframAlpha, was released in 2009. Wolfram implemented this website by translating natural language statements into Wolfram-language queries that link to its database. The work leading to Wolfram Alpha also means that Wolfram's implementation of the language now has built-in access to a knowledge-base as well as natural language processing functions.

Wolfram also added features for more complex tasks, such as 3D modeling.[14]

A name was finally adopted for the language in 2013, as Wolfram Research decided to make a version of the language engine free for Raspberry Pi users, and they needed to come up with a name for it.[15] It was included in the recommended software bundle that the Raspberry Pi Foundation provides for beginners, which caused some controversy due to the Wolfram language's proprietary nature.[16] Plans to port the Wolfram language to the Intel Edison were announced after the board's introduction at CES 2014 but was never released.[17] In 2019, a link was added to make Wolfram libraries compatible with the Unity game engine, giving game developers access to the language's high level functions.[18][19]


The Wolfram Language syntax is overall similar to the M-expression of 1960s LISP, with support for infix operators and "function-notation" function calls.


The Wolfram language writes basic arithmetic expressions using infix operators.

(* This is a comment. *)

4 + 3
(* = 7 *)

1 + 2 * (3 + 4)
(* = 15 *)
(* Note that Multiplication can be omitted: 1 + 2 (3 + 4) *)

(* Divisions return rational numbers: *)
3 / 2
(* = 3/2 *)

Function calls are denoted with square brackets:

(* = 0 *)

(* This is the function to convert rationals to floating points: *)
N[3 / 2]
(* = 1.5 *)

Lists are enclosed in curly brackets:

(* = {1,3,5} *)

Syntax sugar

The language may deviate from the M-expression paradigm when an alternative, more human-friendly way of showing an expression is available:

  • A number of formatting rules are used in this language, including TeXForm for typeset expressions and InputForm for language input.
  • Functions can also be applied using the prefix expression @ and the postfix expression //.
  • Derivatives can be denoted with an apostrophe '.
  • The infix operators themselves are considered "sugar" for the function notation system.

A FullForm formatter desugars the input:[20]

(* = Plus[1, 2] *)

Functional programming

Currying is supported.

Pattern matching

Functions in the Wolfram Language are basically a case of simple patterns for replacement:

F[x_] := x ^ 0

The := is a "SetDelayed operator", so that the x is not immediately looked for. x_ is syntax sugar for Pattern[x, Blank[]], i.e. a "blank" for any value to replace x in the rest of the evaluation.

An iteration of bubble sort is expressed as:

sortRule := {x___,y_,z_,k___} /; y>z -> {x,z,y,k}
(* Rule[Condition[List[PatternSequence[x, BlankNullSequence[]], Pattern[y, Blank[]], Pattern[z, Blank[]], PatternSequence[k, BlankNullSequence[]]], Greater[y, z]], List[x, z, y, k]] *)

The /; operator is "condition", so that the rule only applies when y>z. The three underscores are a syntax for a BlankNullSequence[], for a sequence that can be null.

A ReplaceRepeated //. operator can be used to apply this rule repeatedly, until no more change happens:

{ 9, 5, 3, 1, 2, 4 } //. sortRule
(* = ReplaceRepeated[{ 9, 5, 3, 1, 2, 4 }, sortRule] *)
(* = {1, 2, 3, 4, 5, 9} *)

The pattern matching system also easily gives rise to rule-based integration and derivation. The following are excerpts from the Rubi package of rules:[21]

(* Reciprocal rule *)
Int[1/x_,x_Symbol] :=
(* Power rule *)
Int[x_^m_.,x_Symbol] :=
  x^(m+1)/(m+1) /;
FreeQ[m,x] && NeQ[m,-1]


The official, and reference, implementation of the Wolfram Language lies in Mathematica and associated online services. These are closed source.[22] Wolfram Research has, however, released a C++ parser of the language under the open source MIT License.[23] The reference book is open access.[24]

In the over three-decade-long existence of the Wolfram language, a number of open source third party implementations have also been developed. Richard Fateman's MockMMA from 1991 is of historical note. Modern ones still being maintained as of April 2020 include Symja in Java, expreduce in Golang, and the SymPy-based Mathics.[25] These implementations focus on the core language and the computer algebra system that it implies, not on the online "knowledgebase" features of Wolfram.

In 2019,[26] Wolfram Research released a freeware Wolfram Engine, to be used as a programming library in non-commercial software.[27]


The language was officially named in June 2013 although, as the backend of the computing system Mathematica, it has been in use in various forms for over 30 years since Mathematica's initial release.[10][28]

See also


  1. ^ "Summary of New Features in 12.2".
  2. ^ Stephen Wolfram Aims to Democratize His Software by Steve Lohr, The New York Times, December 14, 2015
  3. ^ Wolfram, Stephen. "Tini Veltman (1931–2021): From Assembly Language to a Nobel Prize—Stephen Wolfram Writings". stephenwolfram.comwritings. Retrieved 22 January 2021.
  4. ^ Maeder, Roman E. (1994). The Mathematica® Programmer. Academic Press, Inc. p. 6. ISBN 978-1-48321-415-3.
  5. ^ "Wolfram Language Q&A". Wolfram Research. Retrieved 2016-12-05.
  6. ^ Somers, James. "The Scientific Paper Is Obsolete". The Atlantic. Retrieved 2018-04-10.
  7. ^ Hickey, Rich. "Clojure Bookshelf". Archived from the original on 2017-10-03. Retrieved 2020-05-06.
  8. ^ "Notes for Programming Language Experts about Wolfram Language". Retrieved 2015-11-05.
  9. ^ a b "What Should We Call the Language of Mathematica?—Stephen Wolfram Blog". 2013-02-12. Retrieved 2015-11-05.
  10. ^ a b "Celebrating Mathematica's First Quarter Century—Wolfram Blog". Retrieved 2015-11-05.
  11. ^ Wolfram (1988). Mathematica, a System for Doing Mathematics By Computer.
  12. ^ "dubrousky/mockmma: mma.lisp (built-in symbols)". GitHub.
  13. ^ Hayes, Brian (1990-01-01). "Thoughts on Mathematica" (PDF). Pixel.
  14. ^ "Wolfram Language & System Documentation Center". Retrieved 2015-11-05.
  15. ^ "Putting the Wolfram Language (and Mathematica) on Every Raspberry Pi—Wolfram Blog". Retrieved 2015-11-05.
  16. ^ Sherr, Ian (2013-11-22). "Premium Mathematica software free on budget Raspberry Pi - CNET". Retrieved 2015-11-05.
  17. ^ Daniel AJ Sokolov (2014-11-22). "Intels Edison: Pentium-System im Format einer SD-Karte | heise online". Retrieved 2015-11-05.
  18. ^ "The Wolfram Language will soon be integrated into Unity". Gamasutra. 2014-03-10. Retrieved 2015-11-05.
  19. ^ "Is there a way to use Wolfram Language in Unity3D?". Wolfram. 2017. Retrieved 2017-04-11.
  20. ^ "FullForm". Wolfram Language Documentation.
  21. ^ "Welcome to Rubi, the Rule-based Integrator". Rule-based Integration.
  22. ^ McLoone, J. "Why Wolfram Tech Isn't Open Source—A Dozen Reasons—Wolfram Blog".
  23. ^ "codeparser: Parse Wolfram Language source code as abstract syntax trees (ASTs) or concrete syntax trees (CSTs)". GitHub. Wolfram Research, Inc. 13 April 2020.
  24. ^ "Open Materials from Wolfram: Open Code, Open Source, Open Data, Open Resources".
  25. ^ Simon. "Is there an open source implementation of Mathematica-the-language?". Mathematica Stack Exchange.
  26. ^ Wolfram, Steven. "Launching Today: Free Wolfram Engine for Developers—Stephen Wolfram Writings".
  27. ^ "Free Wolfram Engine for Developers". Retrieved 19 January 2021.
  28. ^ "Stephen Wolfram Says He Has An Algorithm For Everything — Literally". Retrieved 2015-11-05.

External links

This page was last edited on 4 April 2021, at 16:24
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.