Programming Help for Occam Language

Introduction to Occam Programming Language

Occam Programming Language is a Imperative Procedural Language or Concurrent Programming Language.It is build on CSP(Communicating Sequential Processes) which process algebra and shares its features. Occam-pi is mostly used version of occam. It supports variety of platform with collection of open source tools.

Syntax of a Process in Occam

{`
<declaration> 
<declaration>
...
<declaration>
<executable>
`}

Keywords used in Occam Programming Language

In Occam Programming process communicate through channels.One process outputs data to a channel via”!” while another one input data with”?”

Example

{`
keyboard ? c
screen ! c
`}

SEQ

The Sequential expression are introduced by SEQ

{`
SEQ

Z :=Z + 1

U := Z * Z
`}

PAR

The list of expression that can be evaluated concurrently begins with PAR

{`
PAR
p()
q()
`}

How to learn Occam Programming Language

Tutorial for Occam Programming Language:

Videos to learn Occam Programming Language:

Download Occam compiler Here!!