Back to table

More Indentation Testing

The following is valid µOCCAM. A simple program testing indentation levels within continuation lines and comments. Enjoy.

Program file: /public/cs3/web/ipptests-phase-1/more_indentation.accept
		-- The following program should be valid, however has no practical value at all
INT x: -- a declaration
 -- A replicated parallel process
PAR i = 2*x FOR 5
  name (a,
			b,
			   c,
			d)
-- The end of another useless program --