Draft Grammar for SDL+
Version 2
The following is a grammar that we (the SAFIRE-SDL team) believe is compatible with the SDL+ draft summary (http://www.sdl-task-force.org/sdl-tf_draftresult_4.pdf). Questions and comments from SDL Task Force members are welcome.
"
SIGNALLIST"
Name "
="
Signal_ListEnd
"
SYNTYPE"
Name "
="
Sort"
ENDSYNTYPE"
End
"
CHANNEL" [ "
NODELAY" ]
"
FROM"
F1 "
VIA"
F1G "
TO"
T1 "
VIA"
T1G End"
FROM"
F2 "
VIA"
F2G "
TO"
T2 "
VIA"
T2G End2"
ENDCHANNEL"
End3
"
BLOCK" "
TYPE"
Block_Body"
ENDBLOCK" "
TYPE"
End
"
PROCESS" "
TYPE"
Process_Body"
ENDPROCESS" "
TYPE"
End
"IN" "/" "OUT"
I ::=
"IN"
"-"
"
SET" "
("
Set_Statement "
)"
"
RESET" "
("
Reset_Statement "
)"
"
DECISION"
Expression EndDecision_Body "
ENDDECISION"
"..."
"OR" | "XOR"
"AND"
"=" | "/=" | ">=" | ">" | "<=" | "<"
"+" | "-"
"*" | "/" | "MOD" | "REM"
"-" | "NOT"