25.07.2014 Views

VDM-10 Language Manual

VDM-10 Language Manual

VDM-10 Language Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>VDM</strong>-<strong>10</strong> <strong>Language</strong> <strong>Manual</strong><br />

C.1 The Family of Combinators<br />

These combinators have the highest family priority.<br />

combinator = iterate | composition ;<br />

iterate = ‘**’ ;<br />

composition = ‘comp’ ;<br />

precedence level combinator<br />

1 comp<br />

2 iterate<br />

C.2 The Family of Applicators<br />

All applicators have equal precedence.<br />

applicator = subsequence<br />

| apply<br />

| function type instantiation<br />

| field select ;<br />

subsequence = expression, ‘(’, expression, ‘,’, ‘...’, ‘,’,<br />

expression, ‘)’ ;<br />

apply = expression, ‘(’, [ expression list ], ‘)’ ;<br />

function type instantiation = expression, ‘[’, type, { ‘,’, type }, ‘]’ ;<br />

field select = expression, ‘.’, identifier ;<br />

C.3 The Family of Evaluators<br />

The family of evaluators is divided into nine groups, according to the type of expression they are<br />

used in.<br />

206

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!