Changes between Version 69 and Version 70 of IR
- Timestamp:
- 11/26/15 07:35:45 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IR
v69 v70 1 1 2 2 The CIVL-IR language. A program in this language is also known as a "CIVL model". 3 4 ** CAN WE GET RID OF ALL \S EVERYWHERE???** 3 5 4 6 Properties of the language: … … 243 245 * `ATOMIC_EXIT;` 244 246 * `PARSPAWN p, d, f;` where `p` is pointer to process reference, `d` has `Domain` type and `f` has `Function` type. 245 * `NEXT dom, <i,j,…>;` : domain iterator: updates `i`,`j`,... to be the value of the intertuple in `dom` after `<i,j,...>`247 * `NEXT dom, <i,j,…>;` : domain iterator: updates `i`,`j`,... to be the value of the next tuple in `dom` after `<i,j,...>` 246 248 * `FOR_ENTER dom;` **FIX ME** 247 249 … … 258 260 * `\pure` : the function has no side effects, but may be nondeterministic 259 261 * `\abstract`: function is a pure, mathematical function: deterministic function of inputs 260 * `\atomic _f`: function definition is atomic, and it never blocks262 * `\atomic`: function definition is atomic, and it never blocks **ISN'T THIS TRUE OF EVERY SYSTEM FUNCTION? IN WHICH CASE, IS THIS ONLY FOR NON-SYSTEM FUNCTIONS?** 261 263 262 264 System functions: … … 268 270 Example of a declaration of a system function with guard. 269 271 {{{ 270 g( Real x, Bool y; Bool){ ... }271 f( Real x, Bool y; Integer) \guard {g};272 g(x:Real):Bool { ... } 273 f(x:Real):Integer \guard g; 272 274 }}} 273 275
