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.

Appendix A<br />

The Syntax of the <strong>VDM</strong> <strong>Language</strong>s<br />

This appendix specifies the complete syntax for the <strong>VDM</strong> languages.<br />

A.1 <strong>VDM</strong>-SL Document<br />

document = any module, { any module }<br />

| definition block, { definition block } ;<br />

any module = module ;<br />

A.2 Modules<br />

This entire subsection is not present in the current version of the <strong>VDM</strong>-SL standard.<br />

module = ‘module’, identifier, interface,<br />

[ module body ], ‘end’, identifier ;<br />

interface = [ import definition list ],<br />

export definition ;<br />

import definition list = ‘imports’, import definition,<br />

{ ‘,’, import definition } ;<br />

import definition = ‘from’, identifier, import module signature ;<br />

import module signature = ‘all’<br />

| import signature, { import signature } ;<br />

import signature = import types signature<br />

| import values signature<br />

| import functions signature<br />

| import operations signature ;<br />

173

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

Saved successfully!

Ooh no, something went wrong!