Content deleted Content added
No edit summary |
Derek Ross (talk | contribs) m minor fixes |
||
Line 1:
'''Occam''' is a parallel [[programming language]] developed by [[Inmos]] for their line of [[Transputer]]s. Implementations for other platforms exist as well.
Occam builds on [[Communication Sequential Processes]] and shares
One feature (also found in [[Python programming language|Python]]) necessary to understand the examples below is that indentation and formatting is critical: expressions are terminated by the end of the line,
The most interesting language constructs are described in the following.
Line 26:
y := y * 2
'''ALT''' specifies a list of ''guarded'' commands. The ''guards'' are combination of a boolean condition and an input expression (both optional). Each guard for which the condition
ALT
|