28.01.2015 Views

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

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.

::=(expression)AppendixA.<strong>Hermes</strong>ConcreteSyntax143 ::=currentprogram<br />

Literalsofvarioustypes: the{element::=selector function{reference ::=unique<br />

literal::=integer{literal ::=real{literal ::=named{literal ::=string{literal ::=outport{primarycall{arguments<br />

program{literal ::=program{literal ::=attributename{literal ::=typename{literal ::=process(declaration)<br />

attributename{literal ::=processlink{name endprocess [h<strong>and</strong>ler]... begin [declaration{section] [pragma]<br />

typename{literal ::=nattributenameattribute{namen [statement;]...<br />

Adenitionsmodulecomprisesacollectionoftype<strong>and</strong>constraintdenitions.Atypedenitionassociatesanamewithatypeconstruction,while<br />

aconstraintdeninitionassociatesanamewithanattributeconstruction. Apragmamayoptionallyappearwitheithertypeofdenition. ::=denitions ::=ntypenametype{namen denitions{module{body enddenitions [denition;]...

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

Saved successfully!

Ooh no, something went wrong!