Content deleted Content added
m WPCleaner v1.26 - Repaired 1 link to disambiguation page - (You can help) - Adjacent |
Cosmoose312 (talk | contribs) No edit summary Tags: Mobile edit Mobile app edit Android app edit |
||
(13 intermediate revisions by 12 users not shown) | |||
Line 1:
{{Short description|Theoretical programming language for describing concurrent computations}}
{{about|the 1988 theoretical language|other uses|Unity (disambiguation)#Software{{!}}Unity § Software}}
{{multiple issues|
{{technical|date=September 2011}}
{{primary sources|date=July 2019}}
}}
'''UNITY''' is a programming language
== Description ==
All statements are [[assignment (computer science)|assignment]]s, and are separated by <code>#</code>. A statement can consist of multiple assignments, of the form <code>a,b,c := x,y,z</code>, or <code>a := x || b := y || c := z</code>. You can also have a ''quantified statement list'', <code><# x,y : ''expression'' :: ''statement''></code>, where x and y are chosen randomly among the values that satisfy ''expression''. A ''quantified assignment'' is similar. In <code><|| x,y : ''expression'' :: ''statement'' ></code>, ''statement'' is executed simultaneously for ''all'' pairs of <code>x</code> and <code>y</code> that satisfy ''expression''.
==Examples==
|