Working on the parser for CA

This commit is contained in:
Artur Meski
2018-02-17 21:26:11 +00:00
parent 9b41161f82
commit bd4b74703d

View File

@@ -78,6 +78,7 @@ system:
| REACTIONS LCB reactions RCB system | REACTIONS LCB reactions RCB system
| INITIALCONTEXTS LCB initstates RCB system | INITIALCONTEXTS LCB initstates RCB system
| CONTEXTENTITIES LCB actionentities RCB system | CONTEXTENTITIES LCB actionentities RCB system
| CONTEXTAUTOMATON LCB ctxaut RCB system
| RSCTLFORM LCB rsctl_form RCB system { | RSCTLFORM LCB rsctl_form RCB system {
driver.addFormRSCTL($3); driver.addFormRSCTL($3);
} }
@@ -171,6 +172,24 @@ actentity: IDENTIFIER {
} }
; ;
/*******************************************/
ctxaut:
| STATES LCB autstates RCB ctxaut
| TRANSITIONS LCB auttrans RCB ctxaut
;
autstate: IDENTIFIER {
}
autstates:
| autstate
| autstate COMMA autstates
;
auttrans:
;
/* formulae */ /* formulae */
bool_contexts: IDENTIFIER { bool_contexts: IDENTIFIER {