Mutually Exclusive Procedures in Imperative Languages
Abstract
To represent mutually exclusive procedures, we propose a choice-conjunctive declaration statement of the form $uchoo(S,R)$ where $S, R$ are the procedure declaration statements within a module. This statement has the following semantics: request the machine to choose a successful one between $S$ and $R$. This statement is useful for representing objects with mutually exclusive procedures. We illustrate our idea via C^uchoo, an extension of the core C with a new statement.
- Publication:
-
arXiv e-prints
- Pub Date:
- November 2014
- DOI:
- 10.48550/arXiv.1411.5110
- arXiv:
- arXiv:1411.5110
- Bibcode:
- 2014arXiv1411.5110K
- Keywords:
-
- Computer Science - Programming Languages
- E-Print:
- 3 pages