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.

oolean{guard event{guard::=eventinport{variable ::=event{guard<strong>and</strong>boolean{guard[statement;]... ::=event{guard[statement;]... AppendixA.<strong>Hermes</strong>ConcreteSyntax141<br />

[...]). Threesyntaxesareavailableforselectors(usedintableoperations):along form(usingwhere),<strong>and</strong>twoshorth<strong>and</strong>forms(usingsquarebrackets{ otherwise{clause ::=where(test{expression)<br />

selector::=base{variableintable{variable ::=otherwise[statement;]...<br />

The<strong>Hermes</strong>expressionsyntaxfollows.Allthe<strong>Hermes</strong>binaryoperators ::=table{variable[[expression[,expression]...]]<br />

where(selector{expression)<br />

expression::=disjunction representthis. areleft-associative,thoughthegrammarshownheredoesnotexplicitly<br />

disjunction::=conjunction relation::=concat conjunction::=relation ::=disjunctionorconjunction<br />

::=concatconcat ::=concat=concat

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

Saved successfully!

Ooh no, something went wrong!